I'm trying to create an array of delegates and wondering if I can do it without defining all the delegate methods in the class but as in methods that are then just stored in the array and passed out. Below is my attempt at the syntax but it isn't working. Is there a way to do this or is it a case that I have to define the methods conventionally in the class which is storing them in the array?
delegate void myDelegateType();
myDelegateType[] myDelegateArray = new myDelegateType[3];
myDelegateArray[0] = new myDelegateType(void myMethod1(){int i = 0;});