Saturday, April 20, 2019 04:32

Posts Tagged ‘stringbuilder’

String Builder

Friday, April 21st, 2017

I was explaining at some point that string is an immutable type. That means that once you assign a value to a string variable, you cannot directly modify it anymore. This also means that any string operation using any function such as Trim(), Replace(), ToUpper(), etc, will actually create a new string in memory where the resulting value will be stored, and it will delete the old, initial value. … Read more