Is there a C# equivalent to friend classes as in C++ or Java? All I can find are friend assemblies, which isn't quite what I am looking for.
Okay, I guess the friend functions don't have access to the private members. So i just defined x and y and used my set_x and set_y functions to take care of the rest.