Jan 30, 2024 · The following example demonstrates how to create a new String object from a portion of a character array, and how to create a new String object that contains multiple occurrences of a.
Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework - referencesource/mscorlib/system/string.cs at mainmicrosoft/referencesource
Initializes a new instance of the String class to the value indicated by a specified pointer to an array of 8-bit signed integers, a starting character position within that array, a length, and an Encoding object.