Have looked around but I could not find an answer to this question.
Is there a difference between these two field initialisations? Or does it really not matter and is it just a matter of style.
class aClass
{
private int aField;
public aClass() //default constructor
{
aField = 42;
}
}
or
class aClass
{
private int aField = 42;
public aClass() //default constructor
{
}
}