Original Post
Hello all, Little code sample: Which is better if either? Certain benefits to either approach? Is this just a standard that will vary from say employer to employer? Thanks for any insight!
Example 1:
class Fu
{
int bar = 0;
}
Example 2:
class Fu
{
int bar;
public Fu()
{
bar = 0;
}
}