In order to call one constructor from another constructor in C# programming language you can use below syntax:
class Plane
{
Plane (){}
Plane (int a) : this() {}
Plane (int a, int b) : this(int a) {}
}
C# and .NET tutorial based on my software development adventure
2 comments:
Quick and comperhensive explanation. Thanks.
Post a Comment