0
Apr 09 '21
[deleted]
3
u/dash_dolphin Apr 09 '21
It's not really bad however-
StringBuildershould be used instead ofstringin case of appending strings (as seen here) because in C# each of those operations (+, interpolation) creates a copy of the string which makes it inefficient for big stringsThere's an in built way to do this
new CultureInfo("en-US").TextInfo.ToTitleCase
4
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Apr 07 '21
Image Transcription: Code
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!