C Sharp (C#) - Classes and Objects
What will be the output of this code?
class Counter {
public int count = 0;
public Counter() { count = 10; }
}
Counter c = new Counter();
Console.WriteLine(c.count);