SyntaxFix
Write A Post
Hire A Developer
Questions
Starting from C# 8, you simply can use Range Operator. It's the more efficient and better way to handle such cases.
string AnString = "Hello World!"; AnString = AnString[10..];