Is there any practical difference between those two ways of instantiating an object?
public class myClass
{
private myType myObject = new myType();
}
and
public class myClass
{
private myType myObject;
public myClass()
{
myObject = new myType();
}
}
Thanks for helping.