I have 2 classes both non-static. I need to access a method on one class to return an object for processing. But since both classes is non-static, I cant just call the metho
class Bar { /*...*/ public void MethodCaller() { var x = new Foo(); object y = x.MethodToCall(); } }
BTW, in general, objects don't have names.