C# constructor calling other constructor code example
Example 1: c# constructor call another constructor
public ClassName(string str, int number) : this(str) { }
Example 2: c# constructor call another constructor
public Sample(string str) : this(int.Parse(str)) { }