105 Views
I’m going to begin a series of Little Wonders in the BCL String class. Yes, we all work with strings in .NET daily, so perhaps you already know most of these. However, there are a lot of little fun things in the C# class that some folks newer to the language may be less aware of. This post takes a look at a version of the String constructor which lets you create strings of a repeated character easily and efficiently.
I wonder how that has escaped most of us for so long?