If you are trying to do what I think you're trying, forget using * and &. In C# objects are always passed by reference rather than by value. So:
Passes the instance of o into the MyClass constructor.Code:object o = new object(); MyClass myClass = new MyClass(o);
ac




Reply With Quote