Does the default constructor initialize fields with the default value of the field's type?
using System;
class Program
{
int x;
public static void Main()
{
Program obj = new Program();
Console.WriteLine(obj.x); //Prints 0
Console.ReadLine();
}
}
Go to the complete details ...