Article From:https://www.cnblogs.com/storebook/p/9061965.html
ylbtech-.NETFramework:String

 

1.Assemblies mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Back to the top
1、
#region Assemblies mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll
#endregion

using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Runtime;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;

namespace System
{
    //
    // Abstract://     The text is represented as the sequence of the UTF-16 code unit. To browse this type of.NET Framework source code, please refer to Reference Source.
    [ComVisible(true)]
    [DefaultMember("Chars")]
    public sealed class String : IComparable, ICloneable, IConvertible, IComparable<String>, IEnumerable<char>, IEnumerable, IEquatable<String>
    {
        //
        // Abstract://     Represents an empty string. This field is read-only.
        public static readonly String Empty;

        //
        // Abstract://     Initialize the new instance of the System.String class to the value indicated by the Unicode character array.//
        // Parameters://   value:
        //     Unicode An array of characters.
        [SecuritySafeCritical]
        public String(char[] value);
        //
        // Abstract://     Initializes the new instance of the System.String class to the value indicated by the pointer to the 8 bit signed integer array.//
        // Parameters://   value:
        //     A pointer to the 8 bit signed integer array ended with null.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentException:
        //     If value is encoded by ANSI, it is impossible to use value to initialize new instances of System.String.//
        //   T:System.ArgumentOutOfRangeException:
        //     The length of the new string to be initialized (determined by the null termination character of value) is too large to be allocated.//
        //   T:System.AccessViolationException:
        //     value The specified address is not valid.
        [CLSCompliant(false)]
        [SecurityCritical]
        public String(sbyte* value);
        //
        // Abstract://     Initialize the new instance of the System.String class to the value specified by the specified pointer to the Unicode character array.//
        // Parameters://   value:
        //     Pointer to an array of Unicode characters terminated by null.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     The current process does not have read access to all characters accessed through the address.//
        //   T:System.ArgumentException:
        //     value The specified array contains invalid Unicode characters, or the address specified by value is less than 64000.
        [CLSCompliant(false)]
        [SecurityCritical]
        public String(char* value);
        //
        // Abstract://     Initializes the new instance of the System.String class to the value indicated by the specified Unicode character specified by repetition.//
        // Parameters://   c:
        //     A Unicode character.//
        //   count:
        //     c The number of times.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     count Less than zero.
        [SecuritySafeCritical]
        public String(char c, int count);
        //
        // Abstract://     The new instance of the System.String class is initialized into an array of Unicode characters, the starting character position in the array, and a length indicating value.//
        // Parameters://   value:
        //     Unicode An array of characters.//
        //   startIndex:
        //     value The starting position of the inside.//
        //   length:
        //     The number of characters in the value to use.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex Or length is less than zero. The number of elements in or - startIndex and length is greater than that in value.
        [SecuritySafeCritical]
        public String(char[] value, int startIndex, int length);
        //
        // Abstract://     Initializes a new instance of the System.String class as a specified pointer to a 8 bit signed integer array, the starting position within the array, and a value indicated by the length.//
        // Parameters://   value:
        //     A pointer to 8 bits with an array of signed integers.//
        //   startIndex:
        //     value The starting position of the inside.//
        //   length:
        //     The number of characters in the value to use.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex Or length is less than zero. Or - the address specified by value + startIndex is too large for the current platform; that is to say, this address calculation overflow. -//     Or, the length of the new string to initialize is too large to allocate.//
        //   T:System.ArgumentException:
        //     The address specified by value + startIndex is less than 64K. Or - if value is encoded by ANSI, then value can not be initialized.//     System.String A new example.//
        //   T:System.AccessViolationException:
        //     value、startIndex The address specified together with length is not valid.
        [CLSCompliant(false)]
        [SecurityCritical]
        public String(sbyte* value, int startIndex, int length);
        //
        // Abstract://     Initializes a new instance of the System.String class as a value indicated by a specified pointer to an array of Unicode characters, the location of the starting character within the array, and a value indicated by a length.//
        // Parameters://   value:
        //     A pointer to an array of Unicode characters.//
        //   startIndex:
        //     value The starting position of the inside.//
        //   length:
        //     The number of characters in the value to use.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Or length is less than zero, value + startIndex causes the pointer to cross the boundary, or the current process does not have access access to all the characters accessed through the address.//
        //   T:System.ArgumentException:
        //     value The specified array contains invalid Unicode characters, or the address specified by value + startIndex is less than 64000.
        [CLSCompliant(false)]
        [SecurityCritical]
        public String(char* value, int startIndex, int length);
        //
        // Abstract://     Initializes a new instance of System.String as a specified pointer to a 8 bit signed integer array, the starting position, length, and System.Text.Encoding in the array//     The value indicated by the object.//
        // Parameters://   value:
        //     A pointer to 8 bits with an array of signed integers.//
        //   startIndex:
        //     value The starting position of the inside.//
        //   length:
        //     The number of characters in the value to use.//
        //   enc:
        //     An object is used to specify how to encode an array referenced by value. If enc is null, it is assumed to be encoded in ANSI.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex Or length is less than zero. Or - the address specified by value + startIndex is too large for the current platform; that is to say, this address calculation overflow. -//     Or, the length of the new string to initialize is too large to allocate.//
        //   T:System.ArgumentException:
        //     The address specified by value + startIndex is less than 64K. - or if value is encoded according to the specified enc, value can not be initialized.//     System.String A new example.//
        //   T:System.AccessViolationException:
        //     value、startIndex The address specified together with length is not valid.
        [CLSCompliant(false)]
        [SecurityCritical]
        public String(sbyte* value, int startIndex, int length, Encoding enc);

        //
        // Abstract://     Gets the System.String object at the specified location in the current System.Char object.//
        // Parameters://   index:
        //     The position in the current string.//
        // Return to the result://     An object located at the index position.//
        // Abnormality://   T:System.IndexOutOfRangeException:
        //     index Greater than or equal to the length of the object or less than zero.
        public char this[int index] { get; }

        //
        // Abstract://     Gets the number of characters in the current System.String object.//
        // Return to the result://     The number of characters in the current string.
        public int Length { get; }

        //
        // Abstract://     Compares two specified System.String objects and returns an integer indicating the relative position of the two party in the sort order.//
        // Parameters://   strA:
        //     The first string to be compared.//
        //   strB:
        //     The second strings to be compared.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The value condition is less than zero strA before strB in the sort order. Zero strA appears strB in the same position//     In the order order. Greater than zero strA is in the sort order after strB.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static int Compare(String strA, String strB);
        //
        // Abstract://     Compare the substrings of the two specified System.String objects (ignoring or considering their case), and return an integer to indicate the relative position of the two in the order order.//
        // Parameters://   strA:
        //     The first string to be used in the comparison.//
        //   indexA:
        //     strA The position of a neutron string.//
        //   strB:
        //     Second strings to be used in comparison.//
        //   indexB:
        //     strB The position of a neutron string.//
        //   length:
        //     The maximum number of characters in a substring to be compared.//
        //   ignoreCase:
        //     If you want to ignore case in the comparison process, it is true; otherwise, it is false.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The substring strB in the substring strA before the value condition is less than zero is in the sort order. The sorting order of zeros substrings in the same location.//     length It's zero. The substring strA in greater than zero follows the substring strB in the sort order.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     indexA More than strA.System.String.Length. - - or - indexB is greater than strB.System.String.Length. -//     Or - indexA, indexB or length are negative. - or -indexA or indexB is null, and length is greater than zero.
        public static int Compare(String strA, int indexA, String strB, int indexB, int length, bool ignoreCase);
        //
        // Abstract://     Compares the substrings of the two specified System.String objects and returns an integer indicating the relative position of the two party in the sort order.//
        // Parameters://   strA:
        //     The first string to be used in the comparison.//
        //   indexA:
        //     strA The position of a neutron string.//
        //   strB:
        //     Second strings to be used in comparison.//
        //   indexB:
        //     strB The position of a neutron string.//
        //   length:
        //     The maximum number of characters in a substring to be compared.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relationship between the two numbers. The substring strB in the substring strA before the value condition is less than zero is in the sort order. The sorting order of zeros substrings in the same location.//     length It's zero. The substring strA in greater than zero follows the substring strB in the sort order.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     indexA More than strA.System.String.Length. - - or - indexB is greater than strB.System.String.Length. -//     Or - indexA, indexB or length are negative. - or -indexA or indexB is null, and length is greater than zero.
        public static int Compare(String strA, int indexA, String strB, int indexB, int length);
        //
        // Abstract://     Compare two designated System.String objects (which ignore or consider their case and use regional specific information intervention) and return an integer to indicate the relative position of the two in the order order.//
        // Parameters://   strA:
        //     The first string to be compared.//
        //   strB:
        //     The second strings to be compared.//
        //   ignoreCase:
        //     If you want to ignore case in the comparison process, it is true; otherwise, it is false.//
        //   culture:
        //     An object that provides regional specific comparison information.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The value condition is less than zero strA before strB in the sort order. Zero strA appears strB in the same position//     In the order order. Greater than zero strA is in the sort order after strB.//
        // Abnormality://   T:System.ArgumentNullException:
        //     culture For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static int Compare(String strA, String strB, bool ignoreCase, CultureInfo culture);
        //
        // Abstract://     Comparison of two specified System.String objects, using the specified comparison option and regional specific information to affect the comparison, and return an integer that indicates the relationship between the two strings in the order order.//
        // Parameters://   strA:
        //     The first string to be compared.//
        //   strB:
        //     The second strings to be compared.//
        //   culture:
        //     Provides regionally specific comparative information.//
        //   options:
        //     The options to be used when performing comparisons (such as ignoring case or symbols).//
        // Return to the result://     A 32 bit signed integer, which indicates the lexical relationship between strA and strB, and the following table shows that the value condition is less than zero strA in the order order in the order of strB. Zero strA//     In the same location, strB appears in the order order. Greater than zero strA is in the sort order after strB.//
        // Abnormality://   T:System.ArgumentException:
        //     options It's not the System.Globalization.CompareOptions value.//
        //   T:System.ArgumentNullException:
        //     culture For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static int Compare(String strA, String strB, CultureInfo culture, CompareOptions options);
        //
        // Abstract://     Use the specified rule to compare two specified System.String objects and return an integer indicating the relative position of the two in the sort order.//
        // Parameters://   strA:
        //     The first string to be compared.//
        //   strB:
        //     The second strings to be compared.//
        //   comparisonType:
        //     An enumeration value that specifies the rules to be used in comparison.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The value condition is less than zero strA before strB in the sort order. Zero strA is in the same position strB//     In the order order. Greater than zero strA is in the sort order after strB.//
        // Abnormality://   T:System.ArgumentException:
        //     comparisonType It's not the System.StringComparison value.//
        //   T:System.NotSupportedException:
        //     System.StringComparison is not supported.
        [SecuritySafeCritical]
        public static int Compare(String strA, String strB, StringComparison comparisonType);
        //
        // Abstract://     Compare two designated System.String objects (which ignore or consider their case), and return an integer to indicate the relative position of the two in the order order.//
        // Parameters://   strA:
        //     The first string to be compared.//
        //   strB:
        //     The second strings to be compared.//
        //   ignoreCase:
        //     If you want to ignore case in the comparison process, it is true; otherwise, it is false.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The value condition is less than zero strA before strB in the sort order. Zero strA appears strB in the same position//     In the order order. Greater than zero strA is in the sort order after strB.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static int Compare(String strA, String strB, bool ignoreCase);
        //
        // Abstract://     Uses the specified rule to compare the substrings of the two specified System.String objects and return an integer to indicate the relative position of the two in the order order.//
        // Parameters://   strA:
        //     The first string to be used in the comparison.//
        //   indexA:
        //     strA The position of a neutron string.//
        //   strB:
        //     Second strings to be used in comparison.//
        //   indexB:
        //     strB The position of a neutron string.//
        //   length:
        //     The maximum number of characters in a substring to be compared.//
        //   comparisonType:
        //     An enumeration value that specifies the rules to be used in comparison.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The substring strB in the substring strA before the value condition is less than zero is in the sort order. The sorting order of zeros substrings in the same location.//     length The parameter is zero. The strB in the substring strA follllows substring is greater than zero in sorting order.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     indexA More than strA.System.String.Length. - - or - indexB is greater than strB.System.String.Length. -//     Or - indexA, indexB or length are negative. - or -indexA or indexB is null, and length is greater than zero.//
        //   T:System.ArgumentException:
        //     comparisonType It's not the System.StringComparison value.
        [SecuritySafeCritical]
        public static int Compare(String strA, int indexA, String strB, int indexB, int length, StringComparison comparisonType);
        //
        // Abstract://     Compare two designated System.String objects (which ignore or consider their case and use regional specific information intervention) and return an integer to indicate the relative position of the two in the order order.//
        // Parameters://   strA:
        //     The first string to be used in the comparison.//
        //   indexA:
        //     strA The position of a neutron string.//
        //   strB:
        //     Second strings to be used in comparison.//
        //   indexB:
        //     strB The position of a neutron string.//
        //   length:
        //     The maximum number of characters in a substring to be compared.//
        //   ignoreCase:
        //     If you want to ignore case in the comparison process, it is true; otherwise, it is false.//
        //   culture:
        //     An object that provides regional specific comparison information.//
        // Return to the result://     An integer indicating the lexical relationship between two comparison words. The substring strB in the substring strA before the value condition is less than zero is in the sort order. The sorting order of zeros substrings in the same location.//     length It's zero. The substring strA in greater than zero follows the substring strB in the sort order.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     indexA More than strA.System.String.Length. - - or - indexB is greater than strB.System.String.Length. -//     Or - indexA, indexB or length are negative. - or -strA or strB is null, and length is greater than zero.//
        //   T:System.ArgumentNullException:
        //     culture For null.
        public static int Compare(String strA, int indexA, String strB, int indexB, int length, bool ignoreCase, CultureInfo culture);
        //
        // Abstract://     Compare the substrings of two designated System.String objects, use the specified comparison option and regional specific information to influence the comparison, and return an integer that indicates the relationship between the two substrings in the order order.//
        // Parameters://   strA:
        //     The first string to be used in the comparison.//
        //   indexA:
        //     strA The position of the beginning of a neutron string.//
        //   strB:
        //     Second strings to be used in comparison.//
        //   indexB:
        //     strB The position of the beginning of a neutron string.//
        //   length:
        //     The maximum number of characters in a substring to be compared.//
        //   culture:
        //     An object that provides regional specific comparison information.//
        //   options:
        //     The options to be used when performing comparisons (such as ignoring case or symbols).//
        // Return to the result://     An integer that indicates the lexical relationship between the two substrings, as shown in the following table. The substring strB in the substring strA before the value condition is less than zero is in the sort order. The sorting order of zeros substrings in the same location.//     length It's zero. The substring strA in greater than zero follows the substring strB in the sort order.//
        // Abnormality://   T:System.ArgumentException:
        //     options It's not the System.Globalization.CompareOptions value.//
        //   T:System.ArgumentOutOfRangeException:
        //     indexA More than strA.Length. - or -indexB is greater than strB.Length. - or -indexA, indexB, or length//     It is negative. - or -strA or strB is null, and length is greater than zero.//
        //   T:System.ArgumentNullException:
        //     culture For null.
        public static int Compare(String strA, int indexA, String strB, int indexB, int length, CultureInfo culture, CompareOptions options);
        //
        // Abstract://     By comparing the values of the corresponding System.String objects in each string, the two specified System.Char objects are compared.//
        // Parameters://   strA:
        //     The first string to be compared.//
        //   strB:
        //     The second strings to be compared.//
        // Return to the result://     An integer indicating the lexical relationship between two comparison words. The value condition is less than zero strA less than strB. Zero strA is equal to strB. Greater than zero strA is greater than strB.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static int CompareOrdinal(String strA, String strB);
        //
        // Abstract://     The substrings of the two specified System.Char objects are compared by calculating the values of the corresponding System.String objects in each substring.//
        // Parameters://   strA:
        //     The first string to be used in the comparison.//
        //   indexA:
        //     strA The initial index of a neutron string.//
        //   strB:
        //     Second strings to be used in comparison.//
        //   indexB:
        //     strB The initial index of a neutron string.//
        //   length:
        //     The maximum number of characters in a substring to be compared.//
        // Return to the result://     A 32 bit signed integer indicating the lexical relations between the two numbers. The substring of the value condition less than zero strA is less than the substring in strB. Zero sub strings are equal, or length//     It's zero. The substrings in greater than zero strA are greater than the substrings in strB.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     strA It is not null, and indexA is greater than strA.System.String.Length. - - or - strB is not null, and indexB//     More than strB.System.String.Length. - - or - indexA, indexB or length are negative.
        [SecuritySafeCritical]
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static int CompareOrdinal(String strA, int indexA, String strB, int indexB, int length);
        //
        // Abstract://     Connect four specified instances of System.String.//
        // Parameters://   str0:
        //     The first string to concatenate.//
        //   str1:
        //     Second strings to be connected in series.//
        //   str2:
        //     The third strings to be compared.//
        //   str3:
        //     The fourth strings to be compared.//
        // Return to the result://     str0、str1、str2 In series with str3.
        [SecuritySafeCritical]
        public static String Concat(String str0, String str1, String str2, String str3);
        //
        // Abstract://     The element that connects the specified System.String array.//
        // Parameters://   values:
        //     An array of string instances.//
        // Return to the result://     values A series of series elements.//
        // Abnormality://   T:System.ArgumentNullException:
        //     values For null.//
        //   T:System.OutOfMemoryException:
        //     There is not enough memory.
        public static String Concat(params String[] values);
        //
        // Abstract://     A string representation that connects two specified objects.//
        // Parameters://   arg0:
        //     The first object to connect to.//
        //   arg1:
        //     The second objects to be connected.//
        // Return to the result://     arg0 The string representation in series with the value of the arg1.
        public static String Concat(object arg0, object arg1);
        //
        // Abstract://     A string representation that connects three specified objects.//
        // Parameters://   arg0:
        //     The first object to connect to.//
        //   arg1:
        //     The second objects to be connected.//
        //   arg2:
        //     The third objects to be connected.//
        // Return to the result://     arg0、arg1 The string representation in series with the value of the arg2.
        public static String Concat(object arg0, object arg1, object arg2);
        //
        // Abstract://     Creates a string representation of the specified object.//
        // Parameters://   arg0:
        //     The object to be represented, or null.//
        // Return to the result://     arg0 A string representation of the value of the value. If System.String.Empty is arg0, then it is null.
        public static String Concat(object arg0);
        //
        // Abstract://     Connects the string representation of the elements in the specified System.Object array.//
        // Parameters://   args:
        //     An array of objects containing elements to be connected.//
        // Return to the result://     args The string representation of the value of a medium element in series.//
        // Abnormality://   T:System.ArgumentNullException:
        //     args For null.//
        //   T:System.OutOfMemoryException:
        //     There is not enough memory.
        public static String Concat(params object[] args);
        //
        // Abstract://     A member implemented in series System.Collections.Generic.IEnumerable`1.//
        // Parameters://   values:
        //     A collection object that implements the System.Collections.Generic.IEnumerable`1 interface.//
        // Type parameters://   T:
        //     values The type of a member.//
        // Return to the result://     values A member of a series in series.//
        // Abnormality://   T:System.ArgumentNullException:
        //     values For null.
        [ComVisible(false)]
        public static String Concat<T>(IEnumerable<T> values);
        //
        // Abstract://     A System.String with a series of System.Collections.Generic.IEnumerable`1 constructs members of the collection.//
        // Parameters://   values:
        //     A collection object that implements System.Collections.Generic.IEnumerable`1 and its generic type parameter is System.String.//
        // Return to the result://     String values, or System.String.Empty in series if values is an empty IEnumerable (Of String).//
        // Abnormality://   T:System.ArgumentNullException:
        //     values For null.
        [ComVisible(false)]
        public static String Concat(IEnumerable<String> values);
        //
        // Abstract://     Connect two specified instances of System.String.//
        // Parameters://   str0:
        //     The first string to concatenate.//
        //   str1:
        //     Second strings to be connected in series.//
        // Return to the result://     str0 In series with STR1.
        [SecuritySafeCritical]
        public static String Concat(String str0, String str1);
        [CLSCompliant(false)]
        public static String Concat(object arg0, object arg1, object arg2, object arg3);
        //
        // Abstract://     Connect three specified instances of System.String.//
        // Parameters://   str0:
        //     The first string to concatenate.//
        //   str1:
        //     Second strings to be connected in series.//
        //   str2:
        //     The third strings to be compared.//
        // Return to the result://     str0、str1 In series with STR2.
        [SecuritySafeCritical]
        public static String Concat(String str0, String str1, String str2);
        //
        // Abstract://     Create a new instance of a System.String with the same value as the specified System.String.//
        // Parameters://   str:
        //     A string to be copied.//
        // Return to the result://     A new string of the same value as str.//
        // Abnormality://   T:System.ArgumentNullException:
        //     str For null.
        [SecuritySafeCritical]
        public static String Copy(String str);
        //
        // Abstract://     Determines whether the two specified System.String objects have the same value. Parameters specify culture, case, and collation rules used in comparison.//
        // Parameters://   a:
        //     The first string to compare, or null.//
        //   b:
        //     Second strings to be compared, or null.//
        //   comparisonType:
        //     One of the enumerated values, which is used to specify the rules of comparison.//
        // Return to the result://     If the value of the true parameter is the same as the value of the a parameter, it is B; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentException:
        //     comparisonType It's not the System.StringComparison value.
        [SecuritySafeCritical]
        public static bool Equals(String a, String b, StringComparison comparisonType);
        //
        // Abstract://     Determines whether the two specified System.String objects have the same value.//
        // Parameters://   a:
        //     The first string to compare, or null.//
        //   b:
        //     Second strings to be compared, or null.//
        // Return to the result://     If the value of true is the same as that of a, it is B; otherwise it is false. If a and B are both null, this method will return true.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static bool Equals(String a, String b);
        //
        // Abstract://     Replace the format item in the specified string with the string representation of the corresponding object in the specified array. Parameters provide regionally specific formatting information.//
        // Parameters://   provider:
        //     An object that provides information for regionally specific formatting.//
        //   format:
        //     Compound format string.//
        //   args:
        //     An array of objects that contains zero or more objects that need to be formatted.//
        // Return to the result://     format A copy in which the format item has been replaced by the string representation of the corresponding object in args.//
        // Abnormality://   T:System.ArgumentNullException:
        //     format Or args is null.//
        //   T:System.FormatException:
        //     format Null and void. The index of or - format item is less than zero, or greater than or equal to the length of args array.
        public static String Format(IFormatProvider provider, String format, params object[] args);
        //
        // Abstract://     Replace the format item in the specified string with the string representation of the corresponding object in the specified array.//
        // Parameters://   format:
        //     Compound format string.//
        //   args:
        //     An array of objects that contains zero or more objects that need to be formatted.//
        // Return to the result://     format A copy in which the format item has been replaced by the string representation of the corresponding object in args.//
        // Abnormality://   T:System.ArgumentNullException:
        //     format Or args is null.//
        //   T:System.FormatException:
        //     format Null and void. The index of or - format item is less than zero, or greater than or equal to the length of args array.
        public static String Format(String format, params object[] args);
        //
        // Abstract://     Replace the format item in the specified string to the three string representation of the specified object.//
        // Parameters://   format:
        //     Compound format string.//
        //   arg0:
        //     To set the first object in the format.//
        //   arg1:
        //     To set the second objects in the format.//
        //   arg2:
        //     To set the third objects in the format.//
        // Return to the result://     format A copy in which the format item has been replaced by the string representation of arg0, arg1 and arg2.//
        // Abnormality://   T:System.ArgumentNullException:
        //     format For null.//
        //   T:System.FormatException:
        //     format Null and void. The index of or - format item is less than zero, or greater than two.
        public static String Format(String format, object arg0, object arg1, object arg2);
        //
        // Abstract://     Replace one or more format items in the specified string to the string representation of the specified object.//
        // Parameters://   format:
        //     Compound format string.//
        //   arg0:
        //     To set the object of the format.//
        // Return to the result://     format A copy of any format item is replaced by a string representation of arg0.//
        // Abnormality://   T:System.ArgumentNullException:
        //     format For null.//
        //   T:System.FormatException:
        //     format The formatting item in it is invalid. - or - the index of the format item is not zero.
        public static String Format(String format, object arg0);
        //
        // Abstract://     Replace the format item in the specified string to the two string representation of the specified object.//
        // Parameters://   format:
        //     Compound format string.//
        //   arg0:
        //     To set the first object in the format.//
        //   arg1:
        //     To set the second objects in the format.//
        // Return to the result://     format A copy in which the format item is replaced by a string representation of arg0 and arg1.//
        // Abnormality://   T:System.ArgumentNullException:
        //     format For null.//
        //   T:System.FormatException:
        //     format Null and void. - or - the index of the format item is not zero or one.
        public static String Format(String format, object arg0, object arg1);
        //
        // Abstract://     Retrieve the reference of the system to the specified System.String.//
        // Parameters://   str:
        //     A string to be searched in the temporary pool.//
        // Return to the result://     If STR is temporarily saved, the reference to the system is returned; otherwise, a new reference to the string of STR is returned.//
        // Abnormality://   T:System.ArgumentNullException:
        //     str For null.
        [SecuritySafeCritical]
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static String Intern(String str);
        //
        // Abstract://     Retrieve the reference to the specified System.String.//
        // Parameters://   str:
        //     A string to be searched in the temporary pool.//
        // Return to the result://     If STR is in the temporary pool of the common language runtime, the reference to it is returned; otherwise, null is returned.//
        // Abnormality://   T:System.ArgumentNullException:
        //     str For null.
        [SecuritySafeCritical]
        public static String IsInterned(String str);
        //
        // Abstract://     Indicates whether the specified string is null or System.String.Empty string.//
        // Parameters://   value:
        //     The string to be tested.//
        // Return to the result://     If the true parameter is value or the empty string (""), then it is null; otherwise it is false.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static bool IsNullOrEmpty(String value);
        //
        // Abstract://     Indicates whether the specified string is null, empty or only composed of blank characters.//
        // Parameters://   value:
        //     The string to be tested.//
        // Return to the result://     If the true parameter is value or null, or if System.String.Empty is composed only of blank characters, it is value.
        public static bool IsNullOrWhiteSpace(String value);
        //
        // Abstract://     A member of a series set, in which the specified separator is used between each member.//
        // Parameters://   separator:
        //     A string to be used as a delimiter. Only when values has multiple elements, separator is included in the returned string.//
        //   values:
        //     A collection of objects that have to be connected in series.//
        // Type parameters://   T:
        //     values The type of a member.//
        // Return to the result://     A string consisting of values members separated by separator strings. If values has no member, the method returns System.String.Empty.//
        // Abnormality://   T:System.ArgumentNullException:
        //     values For null.
        [ComVisible(false)]
        public static String Join<T>(String separator, IEnumerable<T> values);
        //
        // Abstract://     A series of elements in an array of objects, where the specified delimiter is used between each element.//
        // Parameters://   separator:
        //     A string to be used as a delimiter. Only when values has multiple elements, separator is included in the returned string.//
        //   values:
        //     An array that contains the elements to be connected.//
        // Return to the result://     A string consisting of elements of values, which are separated by separator strings. If values is an empty array, the method will return System.String.Empty.//
        // Abnormality://   T:System.ArgumentNullException:
        //     values For null.
        [ComVisible(false)]
        public static String Join(String separator, params object[] values);
        //
        // Abstract://     All elements in a string array are concatenated, where the specified delimiter is used between each element.//
        // Parameters://   separator:
        //     A string to be used as a delimiter. Only when separator has multiple elements, value is included in the returned string.//
        //   value:
        //     An array that contains the elements to be connected.//
        // Return to the result://     A string consisting of elements in value, which are separated by separator strings. If value is an empty array, the method will return System.String.Empty.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        public static String Join(String separator, params String[] value);
        //
        // Abstract://     Concatenates the specified elements of a string array, where the specified delimiter is used between each element.//
        // Parameters://   separator:
        //     A string to be used as a delimiter. Only when separator has multiple elements, value is included in the returned string.//
        //   value:
        //     An array that contains the elements to be connected.//
        //   startIndex:
        //     value The first element to be used in it.//
        //   count:
        //     The number of elements to be used for the value.//
        // Return to the result://     A string consisting of strings in value, which are separated by separator strings. - - or - if System.String.Empty is zero, count//     No element, or all elements of value and separator are value, then System.String.Empty.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex Or count is less than 0. - or - startIndex plus count is greater than the number of elements in value.//
        //   T:System.OutOfMemoryException:
        //     There is not enough memory.
        [SecuritySafeCritical]
        public static String Join(String separator, String[] value, int startIndex, int count);
        //
        // Abstract://     A member of a set of System.String constructs in series of type System.Collections.Generic.IEnumerable`1, where a specified separator is used between each member.//
        // Parameters://   separator:
        //     A string to be used as a delimiter. Only when values has multiple elements, separator is included in the returned string.//
        //   values:
        //     A set of strings that contain a series of series.//
        // Return to the result://     A string consisting of values members separated by separator strings. If values has no member, the method returns System.String.Empty.//
        // Abnormality://   T:System.ArgumentNullException:
        //     values For null.
        [ComVisible(false)]
        public static String Join(String separator, IEnumerable<String> values);
        //
        // Abstract://     Returns a reference to the System.String instance.//
        // Return to the result://     This System.String instance.
        public object Clone();
        //
        // Abstract://     Compare this instance with the specified System.Object and indicate that the instance is in the sort order before the specified System.Object, or after it appears in the same location.//
        // Parameters://   value:
        //     An object whose calculation result is System.String.//
        // Return to the result://     A 32 bit signed integer indicating whether the instance is located in the sort order before or after the value parameter. The value condition is less than zero this instance is located in value//     Before. Zero is in the same order as value in sorting order. More than zero this instance is located after value. - - or - value is null.//
        // Abnormality://   T:System.ArgumentException:
        //     value It's not System.String.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int CompareTo(object value);
        //
        // Abstract://     Compare this instance with the specified System.String object and indicate that the instance is before, after, or in the same location, in the sort order in the specified string.//
        // Parameters://   strB:
        //     A string that is to be compared with this instance.//
        // Return to the result://     A 32 bit signed integer indicating whether the instance is located in the sort order before or after the strB parameter. The value condition is less than zero. This instance is located before strB. Zero//     This instance is the same as strB in sorting order. More than zero this instance is located after strB. - - or - strB is null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int CompareTo(String strB);
        //
        // Abstract://     Returns a value indicating whether the specified substring appears in this string.//
        // Parameters://   value:
        //     The string to be searched.//
        // Return to the result://     If the true parameter appears in this string, or value is an empty string (""), it is value; otherwise it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public bool Contains(String value);
        //
        // Abstract://     Copies the specified number of characters from the specified location in the instance to the specified location in the Unicode character array.//
        // Parameters://   sourceIndex:
        //     The index of the first character to be copied in this instance.//
        //   destination:
        //     An array of Unicode characters copied from the characters in this instance.//
        //   destinationIndex:
        //     destination In the index, the replicating operation is started here.//
        //   count:
        //     The number of characters to copy to destination in this instance.//
        // Abnormality://   T:System.ArgumentNullException:
        //     destination For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     sourceIndex、destinationIndex Or count is negative - or - sourceIndex does not identify the location in the current instance. - or -destinationIndex//     The valid index in the destination array is not identified. - or -count is longer than the length of the substring from startIndex to the end of this instance - or - count//     The length of the sub array is larger than destinationIndex to the destination array at the end.
        [SecuritySafeCritical]
        public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count);
        //
        // Abstract://     Determines whether the end of this string instance matches the specified string.//
        // Parameters://   value:
        //     A string to compare with the substring at the end of this instance.//
        // Return to the result://     If true matches the end of this instance, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        public bool EndsWith(String value);
        //
        // Abstract://     Determines whether the ending of this string instance matches the specified string when comparing the specified comparison option.//
        // Parameters://   value:
        //     A string to compare with the substring at the end of this instance.//
        //   comparisonType:
        //     Enumeration value is used to determine how to compare this string with value.//
        // Return to the result://     If the true parameter matches the end of this string, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentException:
        //     comparisonType It's not the System.StringComparison value.
        [ComVisible(false)]
        [SecuritySafeCritical]
        public bool EndsWith(String value, StringComparison comparisonType);
        //
        // Abstract://     Determines whether the ending of this string instance matches the specified string when comparing with the specified region.//
        // Parameters://   value:
        //     A string to compare with the substring at the end of this instance.//
        //   ignoreCase:
        //     If you want to ignore case in the comparison process, it is true; otherwise, it is false.//
        //   culture:
        //     Determines how to compare regional information with value for this instance. If culture is null, the current culture is used.//
        // Return to the result://     If the true parameter matches the end of this string, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        public bool EndsWith(String value, bool ignoreCase, CultureInfo culture);
        //
        // Abstract://     Determines whether this instance has the same value as another specified System.String object.//
        // Parameters://   value:
        //     A string that is to be compared with this instance.//
        // Return to the result://     If the value of the true parameter is the same as the value of this instance, it is value; otherwise, it is false. If value is null, this method returns false.
        [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public bool Equals(String value);
        //
        // Abstract://     Determines whether this string has the same value as another specified System.String object. Parameters specify culture, case, and collation rules used in comparison.//
        // Parameters://   value:
        //     A string that is to be compared with this instance.//
        //   comparisonType:
        //     Enumeration value is used to specify how to compare strings.//
        // Return to the result://     If the value of the true parameter is the same as this string, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentException:
        //     comparisonType It's not the System.StringComparison value.
        [SecuritySafeCritical]
        public bool Equals(String value, StringComparison comparisonType);
        //
        // Abstract://     Determines whether the instance has the same value as the specified object (also must be a System.String object).//
        // Parameters://   obj:
        //     A string that is to be compared with this instance.//
        // Return to the result://     If true is a obj and its value is equal to this instance, it is System.String; otherwise it is false. If obj is null, then this method returns false.
        [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
        public override bool Equals(object obj);
        //
        // Abstract://     Retrieves an object that can iterate through every character in this string.//
        // Return to the result://     Enumerator objects.
        public CharEnumerator GetEnumerator();
        //
        // Abstract://     Returns the Hashi code for the string.//
        // Return to the result://     32 Bit signed integer hash code.
        [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
        [SecuritySafeCritical]
        public override int GetHashCode();
        //
        // Abstract://     Return to the System.String of the class System.TypeCode.//
        // Return to the result://     Enumerate the constant System.TypeCode.String.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public TypeCode GetTypeCode();
        //
        // Abstract://     Reports the zeros of the specified string in the current System.String object's first match. Parameter specifies the starting search location in the current string, the number of characters to be searched in the current string, and the type of search to be used for the specified string.     //
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position.//
        //   count:
        //     The number of characters to be checked.//
        //   comparisonType:
        //     One of the enumerated values of the specified search rule.//
        // Return to the result://     If the string is found, it starts from zero at the beginning of the current instance, and the value parameter index position; otherwise, it is -1. If value is System.String.Empty, the return value is//     startIndex。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     count Or startIndex is negative. - - or - startIndex is greater than the length of this instance. - or -count probability is greater than minus the length of this string is less than startIndex.//
        //   T:System.ArgumentException:
        //     comparisonType Not a valid System.StringComparison value.
        [SecuritySafeCritical]
        public int IndexOf(String value, int startIndex, int count, StringComparison comparisonType);
        //
        // Abstract://     Reports the zeros of the specified string in the current System.String object's first match. Parameter specifies the starting search location in the current string and the type of search used for the specified string.//
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position.//
        //   comparisonType:
        //     One of the enumerated values of the specified search rule.//
        // Return to the result://     If the string is found, it starts from zero at the beginning of the current instance, and the value parameter index position; otherwise, it is -1. If value is System.String.Empty, the return value is//     startIndex。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex Less than 0 (zero) or greater than the length of this string.//
        //   T:System.ArgumentException:
        //     comparisonType Not a valid System.StringComparison value.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int IndexOf(String value, int startIndex, StringComparison comparisonType);
        //
        // Abstract://     The report specifies the zeros of the first match of the string in this instance. The search starts at the specified character position and checks the specified number of character locations.//
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position.//
        //   count:
        //     The number of characters to be checked.//
        // Return to the result://     If the string is found, it is the index location of value starting from the beginning of the current instance; otherwise, it is -1. If value is System.String.Empty, the return value is//     startIndex。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     count Or startIndex is negative. - - or - startIndex is greater than the length of this string. - or -count probability is greater than minus the length of this string.//     startIndex。
        public int IndexOf(String value, int startIndex, int count);
        //
        // Abstract://     The report specifies the zeros of the first match of the character in this instance. The search starts at the specified character position and checks the specified number of character locations.//
        // Parameters://   value:
        //     The Unicode character to find.//
        //   startIndex:
        //     Search the starting position.//
        //   count:
        //     The number of characters to be checked.//
        // Return to the result://     If the character is found, it starts at zero from the start position of the string; otherwise, it is -1. Value//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     count Or startIndex is negative. - - or - startIndex is greater than the length of this string. - or -count probability is greater than minus the length of this string.//     startIndex。
        [SecuritySafeCritical]
        public int IndexOf(char value, int startIndex, int count);
        //
        // Abstract://     The report specifies the zeros of the first match of the string in this instance.//
        // Parameters://   value:
        //     The string to be searched.//
        // Return to the result://     If the string is found, it is the zero start index position of value; if it is not found, it is -1. If value is System.String.Empty, the return value is//     0。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        public int IndexOf(String value);
        //
        // Abstract://     The report specifies the zeros of the first character of the Unicode character in this string. The search starts from the location of the specified character.//
        // Parameters://   value:
        //     The Unicode character to find.//
        //   startIndex:
        //     Search the starting position.//
        // Return to the result://     If the character is found, it starts at zero from the start position of the string; otherwise, it is -1. Value//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Less than 0 (zero) or greater than the length of this string.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int IndexOf(char value, int startIndex);
        //
        // Abstract://     The report specifies the zeros of the first character of the Unicode character in this string.//
        // Parameters://   value:
        //     The Unicode character to find.//
        // Return to the result://     If the character is found, it is the zero start index location of value; if it is not found, it is -1.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int IndexOf(char value);
        //
        // Abstract://     The report specifies the zeros of the first match of the string in this instance. The search starts from the location of the specified character.//
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position.//
        // Return to the result://     If the string is found, it is the index location of value starting from the beginning of the current instance; otherwise, it is -1. If value is System.String.Empty, the return value is//     startIndex。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex Less than 0 (zero) or greater than the length of this string.
        public int IndexOf(String value, int startIndex);
        //
        // Abstract://     Reports the zeros of the specified string in the current System.String object's first match. A parameter specifies the type of search to use for the specified string.//
        // Parameters://   value:
        //     The string to be searched.//
        //   comparisonType:
        //     One of the enumerated values of the specified search rule.//
        // Return to the result://     If the string is found, it is the index position of the value parameter; if it is not found, it is -1. If value is System.String.Empty, the return value is//     0。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentException:
        //     comparisonType Not a valid System.StringComparison value.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int IndexOf(String value, StringComparison comparisonType);
        //
        // Abstract://     The report specifies the zeros of any character in the Unicode character array and the first match in this instance. The search starts from the location of the specified character.//
        // Parameters://   anyOf:
        //     Unicode The character array contains one or more characters to be searched.//
        //   startIndex:
        //     Search the starting position.//
        // Return to the result://     For the first time in this instance, find the index position of any character in anyOf (starting from scratch); if you do not find the character in anyOf, then it is -1.//
        // Abnormality://   T:System.ArgumentNullException:
        //     anyOf For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex It is negative. - or - startIndex is larger than the number of characters in this instance.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int IndexOfAny(char[] anyOf, int startIndex);
        //
        // Abstract://     The report specifies the zeros of any character in the Unicode character array and the first match in this instance.//
        // Parameters://   anyOf:
        //     Unicode The character array contains one or more characters to be searched.//
        // Return to the result://     For the first time in this instance, find the index position of any character in anyOf (starting from scratch); if you do not find the character in anyOf, then it is -1.//
        // Abnormality://   T:System.ArgumentNullException:
        //     anyOf For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int IndexOfAny(char[] anyOf);
        //
        // Abstract://     The report specifies the zeros of any character in the Unicode character array and the first match in this instance. The search starts at the specified character position and checks the specified number of character locations.//
        // Parameters://   anyOf:
        //     Unicode The character array contains one or more characters to be searched.//
        //   startIndex:
        //     Search the starting position.//
        //   count:
        //     The number of characters to be checked.//
        // Return to the result://     For the first time in this instance, find the index position of any character in anyOf (starting from scratch); if you do not find the character in anyOf, then it is -1.//
        // Abnormality://   T:System.ArgumentNullException:
        //     anyOf For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     count Or startIndex is negative. - or - count + startIndex is larger than the number of characters in this instance.
        [SecuritySafeCritical]
        public int IndexOfAny(char[] anyOf, int startIndex, int count);
        //
        // Abstract://     Returns a new string and inserts the specified string at the specified index position in this instance.//
        // Parameters://   startIndex:
        //     The inserted index position from zero.//
        //   value:
        //     The string to be inserted.//
        // Return to the result://     A new string equivalent to this instance, but startIndex is inserted at the value position of the string.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     startIndex The length of a negative number or greater than that of this instance.
        [SecuritySafeCritical]
        public String Insert(int startIndex, String value);
        //
        // Abstract://     Indicates whether this string conforms to the Unicode normal C.//
        // Return to the result://     If this string matches normal C, it is true; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentException:
        //     The current instance contains invalid Unicode characters.
        public bool IsNormalized();
        //
        // Abstract://     Indicates whether this string matches the specified Unicode paradigm.//
        // Parameters://   normalizationForm:
        //     A Unicode paradigm.//
        // Return to the result://     If this string matches the normal pattern specified by the true parameter, it is normalizationForm; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentException:
        //     The current instance contains invalid Unicode characters.
        [SecuritySafeCritical]
        public bool IsNormalized(NormalizationForm normalizationForm);
        //
        // Abstract://     The report specifies the location of the zeros from the last match of the last string in this instance.//
        // Parameters://   value:
        //     The string to be searched.//
        // Return to the result://     If the string is found, it is the zero start index position of value; if it is not found, it is -1. If value is System.String.Empty, the return value is the last index position in this instance.       //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        public int LastIndexOf(String value);
        //
        // Abstract://     The report specifies the location of the zeros from the last match of the last string in this instance. Searches at the beginning of the specified character position and at the beginning of the right side of the right hand side.//
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position. Start the search from the beginning of the startIndex instance.//
        // Return to the result://     If this string is found, it is the starting index position of value starting from zero; if the string is not found or the current instance is equal to System.String.Empty, it is -1. If//     value For System.String.Empty, the return value is startIndex and the smaller one in the last index position in this instance.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     The current instance is not equal to System.String.Empty, and startIndex is less than zero or greater than the length of the current instance. - or - the current instance is equal to System.String.Empty, and//     startIndex Less than -1 or more than zero.
        public int LastIndexOf(String value, int startIndex);
        //
        // Abstract://     The report specifies the location of the zeros from the last match of the last string in this instance. Searches for the character string at the beginning of the specified number of characters and begins the specified location.//
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position. Start the search from the beginning of the startIndex instance.//
        //   count:
        //     The number of characters to be checked.//
        // Return to the result://     If this string is found, it is the starting index position of value starting from zero; if the string is not found or the current instance is equal to System.String.Empty, it is -1. If//     value For System.String.Empty, the return value is startIndex and the smaller one in the last index position in this instance.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     count It is negative. - or the current instance is not equal to System.String.Empty, and startIndex is negative. - or the current instance is not equal to System.String.Empty, and//     startIndex The length of this instance is greater than that of this instance. - or - the current instance is not equal to System.String.Empty, and startIndex - count+ 1//     Specify the location that is not in this instance. - or the current instance is equal to System.String.Empty and start is less than -1 or greater than zero. - or - the current instance is equal to System.String.Empty    //     And count is more than 1.
        public int LastIndexOf(String value, int startIndex, int count);
        //
        // Abstract://     The report specifies the zeros of the last string of the string in the current System.String object. A parameter specifies the type of search to use for the specified string.//
        // Parameters://   value:
        //     The string to be searched.//
        //   comparisonType:
        //     One of the enumerated values of the specified search rule.//
        // Return to the result://     If the string is found, it is the zero index starting position of the value parameter; if it is not found, it is -1. If value is System.String.Empty, the return value is the last index position in this instance.
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentException:
        //     comparisonType Not a valid System.StringComparison value.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int LastIndexOf(String value, StringComparison comparisonType);
        //
        // Abstract://     The report specifies the zeros of the last string of the string in the current System.String object. Searches at the beginning of the specified character position and at the beginning of the right side of the right hand side. A parameter specifies the type of comparison to search for the specified string.       //
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position. Start the search from the beginning of the startIndex instance.//
        //   comparisonType:
        //     One of the enumerated values of the specified search rule.//
        // Return to the result://     If this string is found, it is the starting index position of the value parameter from zero; if the string is not found or the current instance is equal to System.String.Empty, it is -1.//     If value is System.String.Empty, the return value is startIndex and the smaller one in the last index position in this instance.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     The current instance is not equal to System.String.Empty, and startIndex is less than zero or greater than the length of the current instance. - or - the current instance is equal to System.String.Empty, and//     startIndex Less than -1 or more than zero.//
        //   T:System.ArgumentException:
        //     comparisonType Not a valid System.StringComparison value.
        public int LastIndexOf(String value, int startIndex, StringComparison comparisonType);
        //
        // Abstract://     The report specifies the location of the zeros from the last match of the last string in this instance. Searches for the character string at the specified number of characters and starts the specified character and the position behind it. A parameter specifies the type of comparison to search for the specified string. //
        // Parameters://   value:
        //     The string to be searched.//
        //   startIndex:
        //     Search the starting position. Start the search from the beginning of the startIndex instance.//
        //   count:
        //     The number of characters to be checked.//
        //   comparisonType:
        //     One of the enumerated values of the specified search rule.//
        // Return to the result://     If this string is found, it is the starting index position of the value parameter from zero; if the string is not found or the current instance is equal to System.String.Empty, it is -1.//     If value is System.String.Empty, the return value is startIndex and the smaller one in the last index position in this instance.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     count It is negative. - or the current instance is not equal to System.String.Empty, and startIndex is negative. - or the current instance is not equal to System.String.Empty, and//     startIndex The length of this instance is greater than that of this instance. - or - the current instance is not equal to System.String.Empty, and startIndex + 1- count//     Specify a position that is not in this instance. - or the current instance is equal to System.String.Empty and start is less than -1 or greater than zero. - or - the current instance is equal to//     System.String.Empty And count is more than 1.//
        //   T:System.ArgumentException:
        //     comparisonType Not a valid System.StringComparison value.
        [SecuritySafeCritical]
        public int LastIndexOf(String value, int startIndex, int count, StringComparison comparisonType);
        //
        // Abstract://     The report specifies the location of the zeros from the last character of the last character in the Unicode character.//
        // Parameters://   value:
        //     The Unicode character to find.//
        // Return to the result://     If the character is found, it is the zero start index location of value; if it is not found, it is -1.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public int LastIndexOf(char value);
        //
        // Abstract://     Reports the location of the zeros from the last match of the last Unicode character specified in the substring of this instance. Searches for the character string at the beginning of the specified number of characters and begins the specified location.//
        // Parameters://   value:
        //     The Unicode character to find.//
        //   startIndex:
        //     The starting position of the search. Start the search from the beginning of the startIndex instance.//
        //   count:
        //     The number of characters to be checked.//
        // Return to the result://     If the character is found, it is the zero start index position of value; if it is not found, or the current instance is equal to System.String.Empty, then it is -1.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     The current instance is not equal to System.String.Empty, and startIndex is less than zero or greater than the length of the current instance. - or the current instance is not equal to System.String.Empty, and  //     startIndex - count + 1 Less than zero.
        [SecuritySafeCritical]
        public int LastIndexOf(char value, int startIndex, int count);
        //
        // Abstract://     The report specifies the location of the zeros from the last character of the last character in the Unicode character. Searches at the beginning of the specified character position and at the beginning of the right side of the right hand side.//
        // Parameters://   value:
        //     The Unicode character to find.//
        //   startIndex:
        //     The starting position of the search. Start the search from the beginning of the startIndex instance.//
        // Return to the result://     If the character is found, it is the zero start index position of value; if it is not found, or the current instance is equal to System.String.Empty, then it is -1.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     The current instance is not equal to System.String.Empty, and startIndex is less than zero or greater than the length of the current instance.
        public int LastIndexOf(char value, int startIndex);
        //
        // Abstract://     Report the location of one or more characters specified in the Unicode array from the zeros of the last match in this instance.//
        // Parameters://   anyOf:
        //     Unicode The character array contains one or more characters to be searched.//
        // Return to the result://     The last time you find the index position of any character in anyOf, if you do not find the character in anyOf, it is -1.//
        // Abnormality://   T:System.ArgumentNullException:
        //     anyOf For null.
        public int LastIndexOfAny(char[] anyOf);
        //
        // Abstract://     Report the location of one or more characters specified in the Unicode array from the zeros of the last match in this instance. Searches for the character string at the beginning of the specified number of characters and begins the specified location.//
        // Parameters://   anyOf:
        //     Unicode The character array contains one or more characters to be searched.//
        //   startIndex:
        //     Search the starting position. Start the search from the beginning of the startIndex instance.//
        //   count:
        //     The number of characters to be checked.//
        // Return to the result://     The last time the index position of any character in anyOf is found in this instance; if the character in anyOf is not found or the current instance is equal to System.String.Empty, then it is//     -1。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     anyOf For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     The current instance is not equal to System.String.Empty, and count or startIndex is negative. - or - the current instance is not equal to System.String.Empty,//     ,And startIndex minus count + 1 should not be less than zero.
        [SecuritySafeCritical]
        public int LastIndexOfAny(char[] anyOf, int startIndex, int count);
        //
        // Abstract://     Report the location of one or more characters specified in the Unicode array from the zeros of the last match in this instance. Searches at the beginning of the specified character position and at the beginning of the right side of the right hand side.//
        // Parameters://   anyOf:
        //     Unicode The character array contains one or more characters to be searched.//
        //   startIndex:
        //     Search the starting position. Start the search from the beginning of the startIndex instance.//
        // Return to the result://     The last time the index position of any character in anyOf is found in this instance; if the character in anyOf is not found or the current instance is equal to System.String.Empty, then it is//     -1。
        //
        // Abnormality://   T:System.ArgumentNullException:
        //     anyOf For null.//
        //   T:System.ArgumentOutOfRangeException:
        //     The current instance is not equal to System.String.Empty, and startIndex specifies the location not in this instance.
        public int LastIndexOfAny(char[] anyOf, int startIndex);
        //
        // Abstract://     Returns a new string whose text value is the same as this string, but its binary expression is in line with the specified Unicode paradigm.//
        // Parameters://   normalizationForm:
        //     A Unicode paradigm.//
        // Return to the result://     A new string whose text value is the same as this string, but its binary expression corresponds to the normal pattern specified by the normalizationForm parameter.//
        // Abnormality://   T:System.ArgumentException:
        //     The current instance contains invalid Unicode characters.
        [SecuritySafeCritical]
        public String Normalize(NormalizationForm normalizationForm);
        //
        // Abstract://     Returns a new string whose text value is the same as this string, but its binary expression is in line with the Unicode normal form C.//
        // Return to the result://     A new normalized string whose text value is the same as this string, but its binary expression is in line with normal C.//
        // Abnormality://   T:System.ArgumentException:
        //     The current instance contains invalid Unicode characters.
        public String Normalize();
        //
        // Abstract://     Returns a new string that fills the specified total length by filling the specified Unicode character by the left side of the character in this instance, so that the characters are right aligned.//
        // Parameters://   totalWidth:
        //     As a result, the number of characters in a string is equal to the number of original characters plus any other filled characters.//
        //   paddingChar:
        //     Unicode Fill the character.//
        // Return to the result://     A new string equivalent to this instance, but the string is right - aligned, so an arbitrary number of paddingChar characters needed to be filled to the left, so that the length is totalWidth. But, if//     totalWidth Less than the length of this instance, this method returns a reference to an existing instance. If totalWidth is equal to the length of this instance, this method returns the new string that is the same as this instance.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     totalWidth Less than zero.
        public String PadLeft(int totalWidth, char paddingChar);
        //
        // Abstract://     Returns a new string that fills the space on the left side of the character in this instance to achieve the specified total length, so that the right alignment is achieved.//
        // Parameters://   totalWidth:
        //     As a result, the number of characters in a string is equal to the number of original characters plus any other filled characters.//
        // Return to the result://     A new string equivalent to this instance, but the string is right - aligned, so an arbitrary number of spaces is filled to the left to make the length totalWidth. But, if totalWidth//     Less than the length of this instance, this method returns a reference to an existing instance. If totalWidth is equal to the length of this instance, this method returns the new string that is the same as this instance.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     totalWidth Less than zero.
        public String PadLeft(int totalWidth);
        //
        // Abstract://     Returns a new string, which fills the specified total length by filling the specified Unicode characters on the right side of the character in this string, so that the characters are left aligned.//
        // Parameters://   totalWidth:
        //     As a result, the number of characters in a string is equal to the number of original characters plus any other filled characters.//
        //   paddingChar:
        //     Unicode Fill the character.//
        // Return to the result://     A new string equivalent to this instance, but the string is left aligned, so fill in the right number of paddingChar characters on the right to make the length totalWidth. But, if//     totalWidth Less than the length of this instance, this method returns a reference to an existing instance. If totalWidth is equal to the length of this instance, this method returns the new string that is the same as this instance.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     totalWidth Less than zero.
        public String PadRight(int totalWidth, char paddingChar);
        //
        // Abstract://     Returns a new string, which is filled to the specified total length by filling empty spaces on the right side of the character in this string, so that the characters are left aligned.//
        // Parameters://   totalWidth:
        //     As a result, the number of characters in a string is equal to the number of original characters plus any other filled characters.//
        // Return to the result://     A new string equivalent to this instance, but the string is left aligned, so fill in the right number of spaces on the right side so that the length is up to totalWidth. But, if totalWidth//     Less than the length of this instance, this method returns a reference to an existing instance. If totalWidth is equal to the length of this instance, this method returns the new string that is the same as this instance.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     totalWidth Less than zero.
        public String PadRight(int totalWidth);
        //
        // Abstract://     Returns the new string of the specified number of characters at the beginning of the current instance at the deleted specified location.//
        // Parameters://   startIndex:
        //     Begin to delete the character from the zero - start position.//
        //   count:
        //     The number of characters to be deleted.//
        // Return to the result://     A new string, in addition to the characters deleted, is equivalent to this instance.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Or count is less than zero. - or - startIndex plus count specifies the location other than this instance.
        [SecuritySafeCritical]
        public String Remove(int startIndex, int count);
        //
        // Abstract://     Returns the new string of all deleted characters from the specified location to the last location in the current instance.//
        // Parameters://   startIndex:
        //     Begin to delete the character from the zero - start position.//
        // Return to the result://     A new string, in addition to the characters deleted, is equivalent to this string.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Less than zero. - or - startIndex specifies the location not in this string.
        public String Remove(int startIndex);
        //
        // Abstract://     Returns a new string, where all the specified Unicode characters appear in this instance are replaced by another specified Unicode character.//
        // Parameters://   oldChar:
        //     The Unicode character to be replaced.//
        //   newChar:
        //     To replace all the oldChar Unicode characters that appear.//
        // Return to the result://     A string equivalent to this instance (except all instances of oldChar have been replaced by newChar). If oldChar is not found in the current instance, this method returns the unchanged current instance.
        public String Replace(char oldChar, char newChar);
        //
        // Abstract://     Returns a new string, where all the specified strings appearing in the current instance are replaced by another specified string.//
        // Parameters://   oldValue:
        //     A string to replace.//
        //   newValue:
        //     The string of all matches for oldValue is replaced.//
        // Return to the result://     A string equivalent to the current string (except all instances of oldValue have been replaced by newValue). If oldValue is not found in the current instance, this method returns the unchanged current instance.//
        // Abnormality://   T:System.ArgumentNullException:
        //     oldValue For null.//
        //   T:System.ArgumentException:
        //     oldValue The empty string ("").
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String Replace(String oldValue, String newValue);
        //
        // Abstract://     A string is split into the largest number of substrings based on the characters in the array.//
        // Parameters://   separator:
        //     An array of characters that separates the substring of this string, an empty array or null without a delimiter.//
        //   count:
        //     The maximum number of substrings to be returned.//
        //   options:
        //     To omit the empty array element in the returned array, it is System.StringSplitOptions.RemoveEmptyEntries; to contain the empty array element in the returned array, it is//     System.StringSplitOptions.None。
        //
        // Return to the result://     An array whose elements contain substrings in this string, which are separated by one or more characters in separator. For more information, please refer to the remarks section.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     count It is negative.//
        //   T:System.ArgumentException:
        //     options Not one of the System.StringSplitOptions values.
        [ComVisible(false)]
        public String[] Split(char[] separator, int count, StringSplitOptions options);
        //
        // Abstract://     The string is split into multiple substrings based on the string in the array. You can specify whether a substring contains an empty array element.//
        // Parameters://   separator:
        //     An array of strings separating the substring of this string, an empty array or null without a delimiter.//
        //   options:
        //     To omit the empty array element in the returned array, it is System.StringSplitOptions.RemoveEmptyEntries; to contain the empty array element in the returned array, it is//     System.StringSplitOptions.None。
        //
        // Return to the result://     An array whose elements contain substrings in this string, which are separated by one or more strings in separator. For more information, please refer to the remarks section.//
        // Abnormality://   T:System.ArgumentException:
        //     options Not one of the System.StringSplitOptions values.
        [ComVisible(false)]
        public String[] Split(String[] separator, StringSplitOptions options);
        //
        // Abstract://     A string is split into the largest number of substrings based on the string in the array. You can specify whether a substring contains an empty array element.//
        // Parameters://   separator:
        //     An array of strings separating the substring of this string, an empty array or null without a delimiter.//
        //   count:
        //     The maximum number of substrings to be returned.//
        //   options:
        //     To omit the empty array element in the returned array, it is System.StringSplitOptions.RemoveEmptyEntries; to contain the empty array element in the returned array, it is//     System.StringSplitOptions.None。
        //
        // Return to the result://     An array whose elements contain substrings in this string, which are separated by one or more strings in separator. For more information, please refer to the remarks section.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     count It is negative.//
        //   T:System.ArgumentException:
        //     options Not one of the System.StringSplitOptions values.
        [ComVisible(false)]
        public String[] Split(String[] separator, int count, StringSplitOptions options);
        //
        // Abstract://     A string is split into the largest number of substrings based on the characters in the array. You can also specify the maximum number of substrings to return.//
        // Parameters://   separator:
        //     An array of characters that separates the substring of this string, an empty array or null without a delimiter.//
        //   count:
        //     The maximum number of substrings to be returned.//
        // Return to the result://     An array whose elements contain substrings in this instance, which are separated by one or more characters in separator. For more information, please refer to the remarks section.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     count It is negative.
        public String[] Split(char[] separator, int count);
        //
        // Abstract://     The string is split into multiple substrings based on the characters in the array.//
        // Parameters://   separator:
        //     An array of characters that separates the substring of this string, an empty array or null without a delimiter.//
        // Return to the result://     An array whose elements contain substrings in this instance, which are separated by one or more characters in separator. For more information, please refer to the remarks section.
        public String[] Split(params char[] separator);
        //
        // Abstract://     The string is split into multiple substrings based on the characters in the array. You can specify whether a substring contains an empty array element.//
        // Parameters://   separator:
        //     An array of characters that separates the substring of this string, an empty array or null without a delimiter.//
        //   options:
        //     To omit the empty array element in the returned array, it is System.StringSplitOptions.RemoveEmptyEntries; to contain the empty array element in the returned array, it is//     System.StringSplitOptions.None。
        //
        // Return to the result://     An array whose elements contain substrings in this string, which are separated by one or more characters in separator. For more information, please refer to the remarks section.//
        // Abnormality://   T:System.ArgumentException:
        //     options Not one of the System.StringSplitOptions values.
        [ComVisible(false)]
        public String[] Split(char[] separator, StringSplitOptions options);
        //
        // Abstract://     Determines whether the beginning of this string instance matches the specified string when comparing the specified comparison option.//
        // Parameters://   value:
        //     A string to be compared.//
        //   comparisonType:
        //     Enumeration value is used to determine how to compare this string with value.//
        // Return to the result://     If this instance starts with true, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.//
        //   T:System.ArgumentException:
        //     comparisonType It's not the System.StringComparison value.
        [ComVisible(false)]
        [SecuritySafeCritical]
        public bool StartsWith(String value, StringComparison comparisonType);
        //
        // Abstract://     Determines whether the beginning of this string instance matches the specified string when comparing with the specified region.//
        // Parameters://   value:
        //     A string to be compared.//
        //   ignoreCase:
        //     If you want to ignore case in the comparison process, it is true; otherwise, it is false.//
        //   culture:
        //     Determines how to compare the string information with value. If culture is null, the current culture is used.//
        // Return to the result://     If the true parameter matches the beginning of this string, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        public bool StartsWith(String value, bool ignoreCase, CultureInfo culture);
        //
        // Abstract://     Determines whether the beginning of this string instance matches the specified string.//
        // Parameters://   value:
        //     A string to be compared.//
        // Return to the result://     If true matches the beginning of this string, it is value; otherwise, it is false.//
        // Abnormality://   T:System.ArgumentNullException:
        //     value For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public bool StartsWith(String value);
        //
        // Abstract://     Check the string for this instance from this instance. The substring starts from the specified character position and has the specified length.//
        // Parameters://   startIndex:
        //     The starting character position of the neutron string in this instance (from scratch).//
        //   length:
        //     The number of characters in the substring.//
        // Return to the result://     A string equivalent to a substring that begins at length and has a length of startIndex in this instance; if System.String.Empty is equal to the length of the instance,//     startIndex For zero, it is length.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Add length to indicate the location that is not in this instance. - - or - startIndex or length is less than zero.
        [SecuritySafeCritical]
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String Substring(int startIndex, int length);
        //
        // Abstract://     Check the string for this instance from this instance. The substring starts at the specified character position and goes to the end of the string.//
        // Parameters://   startIndex:
        //     The starting character position of the neutron string in this instance (from scratch).//
        // Return to the result://     A string equivalent to a substring at the beginning of startIndex in this instance; if System.String.Empty equals the length of the instance, it is startIndex.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Less than zero or greater than the length of this instance.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String Substring(int startIndex);
        //
        // Abstract://     Copy the characters in this instance to the Unicode character array.//
        // Return to the result://     The element is an array of Unicode characters for each character of the instance. If the instance is an empty string, the returned array is empty and the length is zero.
        [SecuritySafeCritical]
        public char[] ToCharArray();
        //
        // Abstract://     Copy the characters in the specified substring in this instance to the Unicode character array.//
        // Parameters://   startIndex:
        //     The starting position of the inner sub string of this instance.//
        //   length:
        //     The length of the inner string of this instance.//
        // Return to the result://     Element an array of Unicode characters for the number of startIndex characters starting from the character position length in this instance.//
        // Abnormality://   T:System.ArgumentOutOfRangeException:
        //     startIndex Or length is less than zero. - or - startIndex plus length is larger than the length of this instance.
        [SecuritySafeCritical]
        public char[] ToCharArray(int startIndex, int length);
        //
        // Abstract://     Returns this string to a lowercase copy.//
        // Return to the result://     A lowercase string.
        public String ToLower();
        //
        // Abstract://     Returns a copy of this string to lowercase form based on the specified case rule.//
        // Parameters://   culture:
        //     An object that provides a culture specific case rule.//
        // Return to the result://     The equivalent lowercase of the current string.//
        // Abnormality://   T:System.ArgumentNullException:
        //     culture For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String ToLower(CultureInfo culture);
        //
        // Abstract://     Returns the conversion of this System.String object to a lowercase copy, and returns the use of a fixed culture case rule.//
        // Return to the result://     The equivalent lowercase of the current string.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String ToLowerInvariant();
        //
        // Abstract://     Returns the instance of System.String; does not perform the actual conversion.//
        // Parameters://   provider:
        //     (An object is reserved for providing regionally specific formatting information.//
        // Return to the result://     The current string.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String ToString(IFormatProvider provider);
        //
        // Abstract://     Returns the instance of System.String; does not perform the actual conversion.//
        // Return to the result://     The current string.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public override String ToString();
        //
        // Abstract://     Returns a copy of this string to uppercase form based on the specified case rule.//
        // Parameters://   culture:
        //     An object that provides a culture specific case rule.//
        // Return to the result://     The uppercase of the current string.//
        // Abnormality://   T:System.ArgumentNullException:
        //     culture For null.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String ToUpper(CultureInfo culture);
        //
        // Abstract://     Returns this string to a capitalized copy.//
        // Return to the result://     The uppercase of the current string.
        public String ToUpper();
        //
        // Abstract://     Returns the conversion of this System.String object to a copy in uppercase form, and returns the use of the block rule of fixed culture.//
        // Return to the result://     The uppercase of the current string.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String ToUpperInvariant();
        //
        // Abstract://     Remove all leading blank characters and tail blank characters from the current System.String object.//
        // Return to the result://     Removes the remaining string from the beginning and the end of the current string. If the character cannot be deleted from the current instance, this method returns the unchanged current instance.
        public String Trim();
        //
        // Abstract://     Removes all preamble and tail matching items from the current System.String object in a set of characters specified in the array.//
        // Parameters://   trimChars:
        //     An array of Unicode characters to delete, or null.//
        // Return to the result://     Removes the remaining string from all the trimChars parameters that appear after the beginning of the current string. If trimChars is null or empty array, remove blank characters instead.//     If the character cannot be deleted from the current instance, this method returns the unchanged current instance.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String Trim(params char[] trimChars);
        //
        // Abstract://     Removes all the tail matches of a set of characters specified in the array from the current System.String object.//
        // Parameters://   trimChars:
        //     An array of Unicode characters to delete, or null.//
        // Return to the result://     Removes the remaining string from all the trimChars parameters that appear after the beginning of the current string. If trimChars is null or empty array, delete Unicode instead.//     Blank character. If the character cannot be deleted from the current instance, this method returns the unchanged current instance.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String TrimEnd(params char[] trimChars);
        //
        // Abstract://     Removes all preamble matches of a set of characters specified in the array from the current System.String object.//
        // Parameters://   trimChars:
        //     An array of Unicode characters to delete, or null.//
        // Return to the result://     Removes the remaining string from all the trimChars parameters that appear after the beginning of the current string. If trimChars is null or empty array, remove blank characters instead.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public String TrimStart(params char[] trimChars);

        //
        // Abstract://     Determines whether two specified strings have the same value.//
        // Parameters://   a:
        //     The first string to compare, or null.//
        //   b:
        //     Second strings to be compared, or null.//
        // Return to the result://     If the value of true is the same as that of a, it is B; otherwise it is false.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static bool operator ==(String a, String b);
        //
        // Abstract://     Determines whether two specified strings have different values.//
        // Parameters://   a:
        //     The first string to compare, or null.//
        //   b:
        //     Second strings to be compared, or null.//
        // Return to the result://     If the value of true is different from the value of a, it is B; otherwise it is false.
        [TargetedPatchingOptOut("Performance critical to inline across NGen image boundaries")]
        public static bool operator !=(String a, String b);
    }
}
2、
2.Back to the top
 
3.Back to the top
 
4.Back to the top
 
5.Back to the top
 
 
6.Back to the top
 
warnAuthor: ylbtech
Source: http://ylbtech.cnblogs.com/
The copyright of this article is shared by the author and the blogger. It is welcome to reprint, but the statement must be retained without the consent of the author, and the original connection is given in the obvious position of the article page, otherwise the right to be investigated for legal responsibility is retained.
Link of this Article: .NETFramework:String

Leave a Reply

Your email address will not be published. Required fields are marked *