I have custom object MyClass and I need to create 3 instances of it.
Instead of doing something dumb like:
MyClass instance1 = new MyClass();
MyClass instance2 = new MyClass();
MyClass instance3 = new MyClass();
Shouldnt I be able to do something like this:
MyClass[] instances = new MyClass();
instances[0].somemethod;
?