The new atomized string or the existing one if it already exists. If length is zero, String.Empty is returned.
Type Reason IndexOutOfRangeException offset < 0.
- or -
offset >= array.Length.
- or -
length > array.Length - offset.
The above conditions do not cause an exception to be thrown if length = 0.
ArgumentOutOfRangeException length < 0.
For more information on atomized strings, see System.Xml.XmlNameTable.