..
over Substring
CS-R1037String.Substring
takes parameters such as the starting index and/or length and returns a part of the specified string. However, this entire expression can be simplified using the range operator, i.e., the ..
operator.
var str = "CSharp";
var part = str.Substring(1, 3);
var str = "CSharp";
var part = str[1..4];