✅ StringBuilder in C#
Hello guys, I was just reading a bit about string manipulation, then I came across the class "StringBuilder". I just read a bit about it. From what I've understood, it makes as if our string become "mutable" in the sense that we can directly modify our original string? (or it just shares the same memory location with another string?).
My question is, is StringBuilder Class still used? I mean like we have powerful methods for string now, like split, join, remove, substring etc. If so, can someone give any use case where we need to use StringBuilder please. (ALSO, please confirm whether I've said above about how StringBuilder works is true please)
My question is, is StringBuilder Class still used? I mean like we have powerful methods for string now, like split, join, remove, substring etc. If so, can someone give any use case where we need to use StringBuilder please. (ALSO, please confirm whether I've said above about how StringBuilder works is true please)