Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

overloading constructors c#

Let the class name is gfg,
Now
public gfg()
public gfg(int a) : this()
public gfg(double b) : this(int)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #overloading #constructors
ADD COMMENT
Topic
Name
2+7 =