top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Define Constructor Overloading in C# .net ?

0 votes
183 views
Define Constructor Overloading in C# .net ?
posted Nov 24, 2014 by Vinitha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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

public class Employee 
{

public Employee() 
{ }

public Employee(String Name) 
{ }

}
answer Nov 24, 2014 by Manikandan J
Similar Questions
+1 vote

Hai friends anybody say about the Operator Overloading in C#.net

+1 vote

Hai Friends anybody say about Function Overloading in C#.net

0 votes

How to implement an Object Pool in C#.NET.

...