Набор довольно интересных рекомендаций, помогающих сделать работу со строками эффективнее.
https://codewithshadman.com/csharp-string-and-formatting-tips
#string
https://codewithshadman.com/csharp-string-and-formatting-tips
#string
Code with Shadman
C# String and Formatting Tips
In this article, we're going to be learning about a whole host of different tips and tricks related to C# String and Formatting.
А вы сможете правильно посчитать длину строки?
https://www.meziantou.net/how-to-correctly-count-the-number-of-characters-of-a-string.htm
#string
https://www.meziantou.net/how-to-correctly-count-the-number-of-characters-of-a-string.htm
#string
Meziantou's blog
How to correctly count the number of characters of a string - Gérald Barré
Counting characters may seem trivial. Indeed, you can use the string.Length property, can't you? Unfortunately, this is not that trivial. If you remember my previous post about comparing strings, you know that strings can be very tricky 😃 Let's use the character…