Invoke the default constructor for value types using new keyword

Sourav.Kayal
Posted by Sourav.Kayal under C# category on | Points: 40 | Views : 778
class Program
{
static void Main(string[] args)
{
Int32 a = new Int32();
a = 100;
Console.WriteLine(a);
Console.ReadLine();
}
}

Comments or Responses

Login to post response