call base constructor in other constructor c# code example
Example 1: c# constructor call another constructor
public ClassName(string str, int number) : this(str) { }
Example 2: c# call base constructor
public class MyExceptionClass : Exception
{
public MyExceptionClass(string message, string extrainfo) : base(message)
{
//other stuff here
}
}