Q:

What is Constructor Overloading in C#?

0

What is Constructor Overloading in C#?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

public class Student
{
 public Student() 
 { }
 public Student(String fullname) 
 { }
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 C# interview questions and answers 2022

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are indexers in C#?... >>
<< What is Hashtable in C#?...