how to call a constructor within a class in c# code example Example: C# call constructor within another public Sample(string str) : this(int.Parse(str)) { }