How string works in c#
If you have been writing c# for a while, you must have used String (string and String can be used interchangeably because string is just an alias of String) and StringBuilder class for sure. However, underneath the simple ‘+’ operator is a huge amount of work which was designed for good intention but also could degrade performance drastically if used naively. The StringBuilder class was crafted in order to overcome one of those problems. Do you know what these problems are and what was resolved? Let’s find out in this post!
0
Leave a comment
Submit with
Comments (0)