(AI Gen) C# String Performance Considerations
In the era of blazing fast compute and memory it’s easy for the performance characteristics of System objects to feel like a thing of the past. However scale in the end, can defeat all our expectations. With Strings we need to be considerate because they are immutable! This means operations like ToUpper() create a new string in memory. With large datasets this can lead performance issues.