Question:

What is Constructor Overloading in C# .net ?

Answer:

In Constructor overloading, n number of constructors can be created for the same class. But the signatures of each constructor should vary. For example

public class Employee 
{
 public Employee() 
 { }
 public Employee(String Name) 
 { }
}

Keywords:

© 2017 QuizBucket.org