D
Dom
Sometimes I need only a single method in a class. And since I like to
be nice and neat, I find myself writing things like this:
int Index = new MyClass().GetIndex();
Is this considered bad form?
be nice and neat, I find myself writing things like this:
int Index = new MyClass().GetIndex();
Is this considered bad form?