Export (0) Print
Expand All
7 out of 7 rated this helpful - Rate this topic

String Methods

The String type exposes the following members.

  NameDescription
Public method Clone Returns a reference to this instance of String.
Public method Static member Compare(String, String) Compares two specified String objects and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, String, Boolean) Compares two specified String objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, String, StringComparison) Compares two specified String objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, String, Boolean, CultureInfo) Compares two specified String objects, ignoring or honoring their case, and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, String, CultureInfo, CompareOptions) Compares two specified String objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two strings to each other in the sort order.
Public method Static member Compare(String, Int32, String, Int32, Int32) Compares substrings of two specified String objects and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, Int32, String, Int32, Int32, Boolean) Compares substrings of two specified String objects, ignoring or honoring their case, and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, Int32, String, Int32, Int32, StringComparison) Compares substrings of two specified String objects using the specified rules, and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, Int32, String, Int32, Int32, Boolean, CultureInfo) Compares substrings of two specified String objects, ignoring or honoring their case and using culture-specific information to influence the comparison, and returns an integer that indicates their relative position in the sort order.
Public method Static member Compare(String, Int32, String, Int32, Int32, CultureInfo, CompareOptions) Compares substrings of two specified String objects using the specified comparison options and culture-specific information to influence the comparison, and returns an integer that indicates the relationship of the two substrings to each other in the sort order.
Public method Static member CompareOrdinal(String, String) Compares two specified String objects by evaluating the numeric values of the corresponding Char objects in each string.
Public method Static member CompareOrdinal(String, Int32, String, Int32, Int32) Compares substrings of two specified String objects by evaluating the numeric values of the corresponding Char objects in each substring.
Public method CompareTo(Object) Compares this instance with a specified Object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified Object.
Public method CompareTo(String) Compares this instance with a specified String object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified String.
Public method Static member Concat(Object) Creates the string representation of a specified object.
Public method Static member Concat(Object[]) Concatenates the string representations of the elements in a specified Object array.
Public method Static member Concat(IEnumerable<String>) Concatenates the members of a constructed IEnumerable<T> collection of type String.
Public method Static member Concat(String[]) Concatenates the elements of a specified String array.
Public method Static member Concat(Object, Object) Concatenates the string representations of two specified objects.
Public method Static member Concat(String, String) Concatenates two specified instances of String.
Public method Static member Concat(Object, Object, Object) Concatenates the string representations of three specified objects.
Public method Static member Concat(String, String, String) Concatenates three specified instances of String.
Public method Static member Concat(Object, Object, Object, Object) Concatenates the string representations of four specified objects and any objects specified in an optional variable length parameter list.
Public method Static member Concat(String, String, String, String) Concatenates four specified instances of String.
Public method Static member Concat<T>(IEnumerable<T>) Concatenates the members of an IEnumerable<T> implementation.
Public method Contains Returns a value indicating whether the specified String object occurs within this string.
Public method Static member Copy Creates a new instance of String with the same value as a specified String.
Public method CopyTo Copies a specified number of characters from a specified position in this instance to a specified position in an array of Unicode characters.
Public method EndsWith(String) Determines whether the end of this string instance matches the specified string.
Public method EndsWith(String, StringComparison) Determines whether the end of this string instance matches the specified string when compared using the specified comparison option.
Public method EndsWith(String, Boolean, CultureInfo) Determines whether the end of this string instance matches the specified string when compared using the specified culture.
Public method Equals(Object) Determines whether this instance and a specified object, which must also be a String object, have the same value. (Overrides Object.Equals(Object).)
Public method Equals(String) Determines whether this instance and another specified String object have the same value.
Public method Static member Equals(String, String) Determines whether two specified String objects have the same value.
Public method Equals(String, StringComparison) Determines whether this string and a specified String object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
Public method Static member Equals(String, String, StringComparison) Determines whether two specified String objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member Format(String, Object) Replaces one or more format items in a specified string with the string representation of a specified object.
Public method Static member Format(String, Object[]) Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
Public method Static member Format(IFormatProvider, String, Object[]) Replaces the format item in a specified string with the string representation of a corresponding object in a specified array. A specified parameter supplies culture-specific formatting information.
Public method Static member Format(String, Object, Object) Replaces the format items in a specified string with the string representation of two specified objects.
Public method Static member Format(String, Object, Object, Object) Replaces the format items in a specified string with the string representation of three specified objects.
Public method GetEnumerator Retrieves an object that can iterate through the individual characters in this string.
Public method GetHashCode Returns the hash code for this string. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetTypeCode Returns the TypeCode for class String.
Public method IndexOf(Char) Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
Public method IndexOf(String) Reports the zero-based index of the first occurrence of the specified string in this instance.
Public method IndexOf(Char, Int32) Reports the zero-based index of the first occurrence of the specified Unicode character in this string. The search starts at a specified character position.
Public method IndexOf(String, Int32) Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position.
Public method IndexOf(String, StringComparison) Reports the zero-based index of the first occurrence of the specified string in the current String object. A parameter specifies the type of search to use for the specified string.
Public method IndexOf(Char, Int32, Int32) Reports the zero-based index of the first occurrence of the specified character in this instance. The search starts at a specified character position and examines a specified number of character positions.
Public method IndexOf(String, Int32, Int32) Reports the zero-based index of the first occurrence of the specified string in this instance. The search starts at a specified character position and examines a specified number of character positions.
Public method IndexOf(String, Int32, StringComparison) Reports the zero-based index of the first occurrence of the specified string in the current String object. Parameters specify the starting search position in the current string and the type of search to use for the specified string.
Public method IndexOf(String, Int32, Int32, StringComparison) Reports the zero-based index of the first occurrence of the specified string in the current String object. Parameters specify the starting search position in the current string, the number of characters in the current string to search, and the type of search to use for the specified string.
Public method IndexOfAny(Char[]) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
Public method IndexOfAny(Char[], Int32) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position.
Public method IndexOfAny(Char[], Int32, Int32) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position and examines a specified number of character positions.
Public method Insert Returns a new string in which a specified string is inserted at a specified index position in this instance.
Public method Static member Intern Retrieves the system's reference to the specified String.
Public method Static member IsInterned Retrieves a reference to a specified String.
Public method IsNormalized() Indicates whether this string is in Unicode normalization form C.
Public method IsNormalized(NormalizationForm) Indicates whether this string is in the specified Unicode normalization form.
Public method Static member IsNullOrEmpty Indicates whether the specified string is null or an Empty string.
Public method Static member IsNullOrWhiteSpace Indicates whether a specified string is null, empty, or consists only of white-space characters.
Public method Static member Join(String, IEnumerable<String>) Concatenates the members of a constructed IEnumerable<T> collection of type String, using the specified separator between each member.
Public method Static member Join(String, Object[]) Concatenates the elements of an object array, using the specified separator between each element.
Public method Static member Join(String, String[]) Concatenates all the elements of a string array, using the specified separator between each element.
Public method Static member Join(String, String[], Int32, Int32) Concatenates the specified elements of a string array, using the specified separator between each element.
Public method Static member Join<T>(String, IEnumerable<T>) Concatenates the members of a collection, using the specified separator between each member.
Public method LastIndexOf(Char) Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
Public method LastIndexOf(String) Reports the zero-based index position of the last occurrence of a specified string within this instance.
Public method LastIndexOf(Char, Int32) Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. The search starts at a specified character position.
Public method LastIndexOf(String, Int32) Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position.
Public method LastIndexOf(String, StringComparison) Reports the zero-based index of the last occurrence of a specified string within the current String object. A parameter specifies the type of search to use for the specified string.
Public method LastIndexOf(Char, Int32, Int32) Reports the zero-based index position of the last occurrence of the specified Unicode character in a substring within this instance. The search starts at a specified character position and examines a specified number of character positions.
Public method LastIndexOf(String, Int32, Int32) Reports the zero-based index position of the last occurrence of a specified string within this instance. The search starts at a specified character position and examines a specified number of character positions.
Public method LastIndexOf(String, Int32, StringComparison) Reports the zero-based index of the last occurrence of a specified string within the current String object. Parameters specify the starting search position in the current string, and type of search to use for the specified string.
Public method LastIndexOf(String, Int32, Int32, StringComparison) Reports the zero-based index position of the last occurrence of a specified string within this instance. Parameters specify the starting search position in the current string, the number of characters in the current string to search, and the type of search to use for the specified string.
Public method LastIndexOfAny(Char[]) Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
Public method LastIndexOfAny(Char[], Int32) Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position.
Public method LastIndexOfAny(Char[], Int32, Int32) Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array. The search starts at a specified character position and examines a specified number of character positions.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Normalize() Returns a new string whose textual value is the same as this string, but whose binary representation is in Unicode normalization form C.
Public method Normalize(NormalizationForm) Returns a new string whose textual value is the same as this string, but whose binary representation is in the specified Unicode normalization form.
Public method PadLeft(Int32) Returns a new string that right-aligns the characters in this instance by padding them with spaces on the left, for a specified total length.
Public method PadLeft(Int32, Char) Returns a new string that right-aligns the characters in this instance by padding them on the left with a specified Unicode character, for a specified total length.
Public method PadRight(Int32) Returns a new string that left-aligns the characters in this string by padding them with spaces on the right, for a specified total length.
Public method PadRight(Int32, Char) Returns a new string that left-aligns the characters in this string by padding them on the right with a specified Unicode character, for a specified total length.
Public method Remove(Int32) Returns a new string in which all the characters in the current instance, beginning at a specified position and continuing through the last position, have been deleted.
Public method Remove(Int32, Int32) Returns a new string in which a specified number of characters in this instance beginning at a specified position have been deleted.
Public method Replace(Char, Char) Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
Public method Replace(String, String) Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string.
Public method Split(Char[]) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array.
Public method Split(Char[], Int32) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array. A parameter specifies the maximum number of substrings to return.
Public method Split(Char[], StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified Unicode character array. A parameter specifies whether to return empty array elements.
Public method Split(String[], StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array. A parameter specifies whether to return empty array elements.
Public method Split(Char[], Int32, StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified Unicode character array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.
Public method Split(String[], Int32, StringSplitOptions) Returns a string array that contains the substrings in this string that are delimited by elements of a specified string array. Parameters specify the maximum number of substrings to return and whether to return empty array elements.
Public method StartsWith(String) Determines whether the beginning of this string instance matches the specified string.
Public method StartsWith(String, StringComparison) Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option.
Public method StartsWith(String, Boolean, CultureInfo) Determines whether the beginning of this string instance matches the specified string when compared using the specified culture.
Public method Substring(Int32) Retrieves a substring from this instance. The substring starts at a specified character position.
Public method Substring(Int32, Int32) Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
Public method ToCharArray() Copies the characters in this instance to a Unicode character array.
Public method ToCharArray(Int32, Int32) Copies the characters in a specified substring in this instance to a Unicode character array.
Public method ToLower() Returns a copy of this string converted to lowercase.
Public method ToLower(CultureInfo) Returns a copy of this string converted to lowercase, using the casing rules of the specified culture.
Public method ToLowerInvariant Returns a copy of this String object converted to lowercase using the casing rules of the invariant culture.
Public method ToString() Returns this instance of String; no actual conversion is performed. (Overrides Object.ToString().)
Public method ToString(IFormatProvider) Returns this instance of String; no actual conversion is performed.
Public method ToUpper() Returns a copy of this string converted to uppercase.
Public method ToUpper(CultureInfo) Returns a copy of this string converted to uppercase, using the casing rules of the specified culture.
Public method ToUpperInvariant Returns a copy of this String object converted to uppercase using the casing rules of the invariant culture.
Public method Trim() Removes all leading and trailing white-space characters from the current String object.
Public method Trim(Char[]) Removes all leading and trailing occurrences of a set of characters specified in an array from the current String object.
Public method TrimEnd Removes all trailing occurrences of a set of characters specified in an array from the current String object.
Public method TrimStart Removes all leading occurrences of a set of characters specified in an array from the current String object.
Top
  NameDescription
Public Extension Method Aggregate<Char>(Func<Char, Char, Char>) Overloaded. Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension Method Aggregate<Char, TAccumulate>(TAccumulate, Func<TAccumulate, Char, TAccumulate>) Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable.)
Public Extension Method Aggregate<Char, TAccumulate, TResult>(TAccumulate, Func<TAccumulate, Char, TAccumulate>, Func<TAccumulate, TResult>) Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable.)
Public Extension Method All<Char> Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Any<Char>() Overloaded. Determines whether a sequence contains any elements. (Defined by Enumerable.)
Public Extension Method Any<Char>(Func<Char, Boolean>) Overloaded. Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.)
Public Extension Method AsEnumerable<Char> Returns the input typed as IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method AsParallel() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel<Char>() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable() Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable<Char>() Overloaded. Converts a generic IEnumerable<T> to a generic IQueryable<T>. (Defined by Queryable.)
Public Extension Method Average<Char>(Func<Char, Int32>) Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Nullable<Int32>>) Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Int64>) Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Nullable<Int64>>) Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Single>) Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Nullable<Single>>) Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Double>) Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Nullable<Double>>) Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Decimal>) Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Average<Char>(Func<Char, Nullable<Decimal>>) Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Concat<Char> Concatenates two sequences. (Defined by Enumerable.)
Public Extension Method Contains<Char>(Char) Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method Contains<Char>(Char, IEqualityComparer<Char>) Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension Method Count<Char>() Overloaded. Returns the number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method Count<Char>(Func<Char, Boolean>) Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method DefaultIfEmpty<Char>() Overloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension Method DefaultIfEmpty<Char>(Char) Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. (Defined by Enumerable.)
Public Extension Method Distinct<Char>() Overloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Distinct<Char>(IEqualityComparer<Char>) Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension Method ElementAt<Char> Returns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension Method ElementAtOrDefault<Char> Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension Method Except<Char>(IEnumerable<Char>) Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Except<Char>(IEnumerable<Char>, IEqualityComparer<Char>) Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension Method First<Char>() Overloaded. Returns the first element of a sequence. (Defined by Enumerable.)
Public Extension Method First<Char>(Func<Char, Boolean>) Overloaded. Returns the first element in a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension Method FirstOrDefault<Char>() Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension Method FirstOrDefault<Char>(Func<Char, Boolean>) Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey>(Func<Char, TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey>(Func<Char, TKey>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey, TElement>(Func<Char, TKey>, Func<Char, TElement>) Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey, TResult>(Func<Char, TKey>, Func<TKey, IEnumerable<Char>, TResult>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey, TElement>(Func<Char, TKey>, Func<Char, TElement>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey, TResult>(Func<Char, TKey>, Func<TKey, IEnumerable<Char>, TResult>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey, TElement, TResult>(Func<Char, TKey>, Func<Char, TElement>, Func<TKey, IEnumerable<TElement>, TResult>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupBy<Char, TKey, TElement, TResult>(Func<Char, TKey>, Func<Char, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>) Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. (Defined by Enumerable.)
Public Extension Method GroupJoin<Char, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Char, TKey>, Func<TInner, TKey>, Func<Char, IEnumerable<TInner>, TResult>) Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension Method GroupJoin<Char, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Char, TKey>, Func<TInner, TKey>, Func<Char, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>) Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable.)
Public Extension Method Intersect<Char>(IEnumerable<Char>) Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Intersect<Char>(IEnumerable<Char>, IEqualityComparer<Char>) Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Public Extension Method Join<Char, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Char, TKey>, Func<TInner, TKey>, Func<Char, TInner, TResult>) Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. (Defined by Enumerable.)
Public Extension Method Join<Char, TInner, TKey, TResult>(IEnumerable<TInner>, Func<Char, TKey>, Func<TInner, TKey>, Func<Char, TInner, TResult>, IEqualityComparer<TKey>) Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<T> is used to compare keys. (Defined by Enumerable.)
Public Extension Method Last<Char>() Overloaded. Returns the last element of a sequence. (Defined by Enumerable.)
Public Extension Method Last<Char>(Func<Char, Boolean>) Overloaded. Returns the last element of a sequence that satisfies a specified condition. (Defined by Enumerable.)
Public Extension Method LastOrDefault<Char>() Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.)
Public Extension Method LastOrDefault<Char>(Func<Char, Boolean>) Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.)
Public Extension Method LongCount<Char>() Overloaded. Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.)
Public Extension Method LongCount<Char>(Func<Char, Boolean>) Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Max<Char>() Overloaded. Returns the maximum value in a generic sequence. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Int32>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Nullable<Int32>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Int64>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Nullable<Int64>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Single>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Nullable<Single>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Double>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Nullable<Double>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Decimal>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value. (Defined by Enumerable.)
Public Extension Method Max<Char>(Func<Char, Nullable<Decimal>>) Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. (Defined by Enumerable.)
Public Extension Method Max<Char, TResult>(Func<Char, TResult>) Overloaded. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. (Defined by Enumerable.)
Public Extension Method Min<Char>() Overloaded. Returns the minimum value in a generic sequence. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Int32>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Nullable<Int32>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Int64>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Nullable<Int64>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Single>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Nullable<Single>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Double>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Nullable<Double>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Decimal>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value. (Defined by Enumerable.)
Public Extension Method Min<Char>(Func<Char, Nullable<Decimal>>) Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. (Defined by Enumerable.)
Public Extension Method Min<Char, TResult>(Func<Char, TResult>) Overloaded. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OrderBy<Char, TKey>(Func<Char, TKey>) Overloaded. Sorts the elements of a sequence in ascending order according to a key. (Defined by Enumerable.)
Public Extension Method OrderBy<Char, TKey>(Func<Char, TKey>, IComparer<TKey>) Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer. (Defined by Enumerable.)
Public Extension Method OrderByDescending<Char, TKey>(Func<Char, TKey>) Overloaded. Sorts the elements of a sequence in descending order according to a key. (Defined by Enumerable.)
Public Extension Method OrderByDescending<Char, TKey>(Func<Char, TKey>, IComparer<TKey>) Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer. (Defined by Enumerable.)
Public Extension Method Reverse<Char> Inverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension Method Select<Char, TResult>(Func<Char, TResult>) Overloaded. Projects each element of a sequence into a new form. (Defined by Enumerable.)
Public Extension Method Select<Char, TResult>(Func<Char, Int32, TResult>) Overloaded. Projects each element of a sequence into a new form by incorporating the element's index. (Defined by Enumerable.)
Public Extension Method SelectMany<Char, TResult>(Func<Char, IEnumerable<TResult>>) Overloaded. Projects each element of a sequence to an IEnumerable<T> and flattens the resulting sequences into one sequence. (Defined by Enumerable.)
Public Extension Method SelectMany<Char, TResult>(Func<Char, Int32, IEnumerable<TResult>>) Overloaded. Projects each element of a sequence to an IEnumerable<T>, and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. (Defined by Enumerable.)
Public Extension Method SelectMany<Char, TCollection, TResult>(Func<Char, Int32, IEnumerable<TCollection>>, Func<Char, TCollection, TResult>) Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. (Defined by Enumerable.)
Public Extension Method SelectMany<Char, TCollection, TResult>(Func<Char, IEnumerable<TCollection>>, Func<Char, TCollection, TResult>) Overloaded. Projects each element of a sequence to an IEnumerable<T>, flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. (Defined by Enumerable.)
Public Extension Method SequenceEqual<Char>(IEnumerable<Char>) Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. (Defined by Enumerable.)
Public Extension Method SequenceEqual<Char>(IEnumerable<Char>, IEqualityComparer<Char>) Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension Method Single<Char>() Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. (Defined by Enumerable.)
Public Extension Method Single<Char>(Func<Char, Boolean>) Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. (Defined by Enumerable.)
Public Extension Method SingleOrDefault<Char>() Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. (Defined by Enumerable.)
Public Extension Method SingleOrDefault<Char>(Func<Char, Boolean>) Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. (Defined by Enumerable.)
Public Extension Method Skip<Char> Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile<Char>(Func<Char, Boolean>) Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile<Char>(Func<Char, Int32, Boolean>) Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Int32>) Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Nullable<Int32>>) Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Int64>) Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Nullable<Int64>>) Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Single>) Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Nullable<Single>>) Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Double>) Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Nullable<Double>>) Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Decimal>) Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Sum<Char>(Func<Char, Nullable<Decimal>>) Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.)
Public Extension Method Take<Char> Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension Method TakeWhile<Char>(Func<Char, Boolean>) Overloaded. Returns elements from a sequence as long as a specified condition is true. (Defined by Enumerable.)
Public Extension Method TakeWhile<Char>(Func<Char, Int32, Boolean>) Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method ToArray<Char> Creates an array from a IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToDictionary<Char, TKey>(Func<Char, TKey>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method ToDictionary<Char, TKey>(Func<Char, TKey>, IEqualityComparer<TKey>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension Method ToDictionary<Char, TKey, TElement>(Func<Char, TKey>, Func<Char, TElement>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension Method ToDictionary<Char, TKey, TElement>(Func<Char, TKey>, Func<Char, TElement>, IEqualityComparer<TKey>) Overloaded. Creates a Dictionary<TKey, TValue> from an IEnumerable<T> according to a specified key selector function, a comparer, and an element selector function. (Defined by Enumerable.)
Public Extension Method ToList<Char> Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToLookup<Char, TKey>(Func<Char, TKey>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function. (Defined by Enumerable.)
Public Extension Method ToLookup<Char, TKey>(Func<Char, TKey>, IEqualityComparer<TKey>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function and key comparer. (Defined by Enumerable.)
Public Extension Method ToLookup<Char, TKey, TElement>(Func<Char, TKey>, Func<Char, TElement>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to specified key selector and element selector functions. (Defined by Enumerable.)
Public Extension Method ToLookup<Char, TKey, TElement>(Func<Char, TKey>, Func<Char, TElement>, IEqualityComparer<TKey>) Overloaded. Creates a Lookup<TKey, TElement> from an IEnumerable<T> according to a specified key selector function, a comparer and an element selector function. (Defined by Enumerable.)
Public Extension Method Union<Char>(IEnumerable<Char>) Overloaded. Produces the set union of two sequences by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method Union<Char>(IEnumerable<Char>, IEqualityComparer<Char>) Overloaded. Produces the set union of two sequences by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Public Extension Method Where<Char>(Func<Char, Boolean>) Overloaded. Filters a sequence of values based on a predicate. (Defined by Enumerable.)
Public Extension Method Where<Char>(Func<Char, Int32, Boolean>) Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. (Defined by Enumerable.)
Public Extension Method Zip<Char, TSecond, TResult> Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results. (Defined by Enumerable.)
Top
  NameDescription
Explicit interface implemetation Private method IConvertible.ToBoolean Infrastructure. For a description of this member, see ToBoolean.
Explicit interface implemetation Private method IConvertible.ToByte Infrastructure. For a description of this member, see ToByte.
Explicit interface implemetation Private method IConvertible.ToChar Infrastructure. For a description of this member, see ToChar.
Explicit interface implemetation Private method IConvertible.ToDateTime Infrastructure. For a description of this member, see ToDateTime.
Explicit interface implemetation Private method IConvertible.ToDecimal Infrastructure. For a description of this member, see ToDecimal.
Explicit interface implemetation Private method IConvertible.ToDouble Infrastructure. For a description of this member, see ToDouble.
Explicit interface implemetation Private method IConvertible.ToInt16 Infrastructure. For a description of this member, see ToInt16.
Explicit interface implemetation Private method IConvertible.ToInt32 Infrastructure. For a description of this member, see ToInt32.
Explicit interface implemetation Private method IConvertible.ToInt64 Infrastructure. For a description of this member, see ToInt64.
Explicit interface implemetation Private method IConvertible.ToSByte Infrastructure. For a description of this member, see ToSByte.
Explicit interface implemetation Private method IConvertible.ToSingle Infrastructure. For a description of this member, see ToSingle.
Explicit interface implemetation Private method IConvertible.ToType Infrastructure. For a description of this member, see ToType.
Explicit interface implemetation Private method IConvertible.ToUInt16 Infrastructure. For a description of this member, see ToUInt16.
Explicit interface implemetation Private method IConvertible.ToUInt32 Infrastructure. For a description of this member, see ToUInt32.
Explicit interface implemetation Private method IConvertible.ToUInt64 Infrastructure. For a description of this member, see ToUInt64.
Explicit interface implemetation Private method IEnumerable<Char>.GetEnumerator Returns an enumerator that iterates through the current String object.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the current String object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.