I did that, since I know C++ that is what I did first but it doesn't seem to know what the hell my class is as it says it's undelcared.Quote:
Originally posted by PT Exorcist
How to instanciate what? If the class is not static instead of doing
you do just like in c++(note that unlike c++ there is no shortway of constructors)Code:MyClass.MyMethod();
Code:MyClass myClass = new MyClass();
myClass.MyMethod();
Bah, I'll figure it out
