Im learning how to do this and Im looking to see if I got this correct. Normally when you pass arguments to a function, unless you pass it with the ref or the out keyword, the parameter comes back unchanged, even if you change it in the function, but with operator overloading, even though you dont use the ref or the out keyword the parameter you pass are changed, so it has seemed in my testing. If its not how to you pass it by ref; basically this class that Im making has to be very fast, creating a copy of the object would waste to much memory so I want to edit the original, Ive tried the ref, out, *, & (using unsafe for the last two) and I get all sorts of weird errors, but if youre already passing it by ref anyway, then I dont really need to use those. Thanks for any help with this. The operator overloading Im doing is the !=, +, -, *, and /, it also appears that I need to overload Equals and HashCode by the warnings that come up, is this true or can I simply pass base.HashCode for the HashCode and overload the Equals to do the basic same function as the ==.
Thanks again!
Thanks again!