If possible, initialize them in-line:
public class MyClass
{
public ArrayList myArrayList = new ArrayList();
public MyClass(){}
public override void MyOverride()
{
// When this gets called by the base class constructor, myArrayList will be initialized.
}
}
Share with