4 ms·
Actually, string.Substring(0, n) is also the C# idiom. The orignial blogger is essentially creating a method alias Left(n) => Substring(0, n), which IMO is not
by crescendo 18y ago
Actually, string.Substring(0, n) is also the C# idiom. The orignial blogger is essentially creating a method alias Left(n) => Substring(0, n), which IMO is not a good use for extension methods.