String Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The String type exposes the following members.

Methods

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Compare(String, String) Performs a culture-sensitive comparison of two specified String objects and returns an integer that indicates their relationship to one another in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Compare(String, String, StringComparison) Compares two specified String objects using the specified string comparison options and returns an integer that indicates their relationship to one another in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 one another in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Compare(String, Int32, String, Int32, Int32) Performs a culture-sensitive comparison of substrings that are extracted from two specified String objects and returns an integer that indicates their relationship to one another in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Compare(String, Int32, String, Int32, Int32, StringComparison) Compares substrings of two specified String objects using the specified string comparison options and returns an integer that indicates their relationship to one another in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 one another in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 CompareOrdinal(String, String) Compares two specified String objects by evaluating the numeric values of the corresponding Char objects in each string and returns an integer that indicates their relative position in the sort order.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(Object) Creates the String representation of a specified object.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(array<Object[]) Concatenates the string representations of the elements in a specified Object array.
Public methodStatic memberSupported by Silverlight for Windows Phone Concat(IEnumerable<String>) Concatenates the members of a constructed IEnumerable<T> collection of type String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(array<String[]) Concatenates the elements of a specified String array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(Object, Object) Concatenates the string representations of two specified objects.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(String, String) Concatenates two specified instances of String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(Object, Object, Object) Concatenates the String representations of three specified objects.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(String, String, String) Concatenates three specified instances of String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Concat(String, String, String, String) Concatenates four specified instances of String.
Public methodStatic memberSupported by Silverlight for Windows Phone Concat<T>(IEnumerable<T>) Concatenates the members of an IEnumerable<T> implementation.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Contains Returns a value indicating whether the specified String object occurs within this string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Copy Creates a new instance of String with the same value as a specified String.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 EndsWith(String) Determines whether the end of this instance matches the specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 EndsWith(String, StringComparison) Determines whether the end of this string matches the specified string when compared using the specified comparison option.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether this instance of String and a specified object, which must also be a String object, have the same value. (Overrides Object.Equals(Object).)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(String) Determines whether this instance and another specified String object have the same value.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(String, String) Determines whether two specified String objects have the same value.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Format(String, Object) Replaces one or more format items in a specified string with the string representation of a specified object.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Format(String, array<Object[]) Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Format(IFormatProvider, String, array<Object[]) Replaces the format item in a specified string with the text equivalent of the value of a corresponding object in a specified array. A specified parameter supplies culture-specific formatting information.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Format(String, Object, Object) Replaces the format item in a specified string with the string representations of two specified objects.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Format(String, Object, Object, Object) Replaces the format items in a specified string with the string representation of three specified objects.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Returns the hash code for this string. (Overrides Object.GetHashCode().)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetTypeCode Returns the TypeCode for class String.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOf(Char) Reports the zero-based index of the first occurrence of the specified Unicode character in this string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOf(String) Reports the zero-based index of the first occurrence of the specified string in this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOf(String, Int32, Int32) Reports the zero-based index of the first occurrence of the specified string this instance. The search starts at a specified character position and examines a specified number of character positions.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOfAny(array<Char[]) Reports the zero-based index of the first occurrence in this instance of any character in a specified array of Unicode characters.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOfAny(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IndexOfAny(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Insert Returns a new string in which a specified string is inserted at a specified index position in this instance.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Intern Retrieves the system's reference to the specified String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsInterned Retrieves a reference to a specified String.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 IsNullOrEmpty Indicates whether the specified string is nulla null reference (Nothing in Visual Basic) or an Empty string.
Public methodStatic memberSupported by Silverlight for Windows Phone IsNullOrWhiteSpace Indicates whether a specified string is nulla null reference (Nothing in Visual Basic), empty, or consists only of white-space characters.
Public methodStatic memberSupported by Silverlight for Windows Phone Join(String, IEnumerable<String>) Concatenates the members of a constructed IEnumerable<T> collection of type String, using the specified separator between each member.
Public methodStatic memberSupported by Silverlight for Windows Phone Join(String, array<Object[]) Concatenates the elements of an object array, using the specified separator between each element.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Join(String, array<String[]) Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Join(String, array<String[], Int32, Int32) Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string. Parameters specify the first array element and number of elements to use.
Public methodStatic memberSupported by Silverlight for Windows Phone Join<T>(String, IEnumerable<T>) Concatenates the members of a string collection, using the specified separator between each member.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 LastIndexOf(Char) Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 LastIndexOf(String) Reports the zero-based index position of the last occurrence of a specified string within this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 LastIndexOfAny(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 LastIndexOfAny(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 LastIndexOfAny(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 PadLeft(Int32) Right-aligns the characters in this instance, padding with spaces on the left for a specified total length.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 PadLeft(Int32, Char) Right-aligns the characters in this instance, padding on the left with a specified Unicode character for a specified total length.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 PadRight(Int32) Returns a new string of a specified length in which the end of the string is padded with spaces or a specified Unicode character.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 PadRight(Int32, Char) Left-aligns the characters in this string, padding on the right with a specified Unicode character, for a specified total length.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove(Int32) Deletes all the characters from this string beginning at a specified position and continuing through the last position.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove(Int32, Int32) Deletes a specified number of characters from this instance beginning at a specified position.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Replace(Char, Char) Returns a new string in which all occurrences of a specified Unicode character in the current string are replaced with another specified Unicode character.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Replace(String, String) Returns a new string in which all occurrences of a specified string in the current string are replaced with another specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(array<Char[]) Returns a string array that contains the substrings in this instance that are delimited by elements of a specified Unicode character array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Split(array<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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StartsWith(String) Determines whether the beginning of this instance matches the specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StartsWith(String, StringComparison) Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Substring(Int32) Retrieves a substring from this instance. The substring starts at a specified character position.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Substring(Int32, Int32) Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToCharArray Copies the characters in this instance to a Unicode character array.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToLower() Returns a copy of this string converted to lowercase, using the casing rules of the current culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToLower(CultureInfo) Returns a copy of this string converted to lowercase, using the casing rules of the specified culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToLowerInvariant Returns a copy of this string converted to lowercase using the casing rules of the invariant culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString() Returns this instance of the string; no actual conversion is performed. (Overrides Object.ToString().)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(IFormatProvider) Returns this instance of the string; no actual conversion is performed.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToUpper() Returns a copy of this string converted to uppercase, using the casing rules of the current culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToUpper(CultureInfo) Returns a copy of this string converted to uppercase, using the casing rules of the specified culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToUpperInvariant Returns a copy of this string converted to uppercase using the casing rules of the invariant culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Trim() Removes all leading and trailing white-space characters from the current string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Trim(array<Char[]) Removes all leading and trailing occurrences of a set of characters specified in an array from the current string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 TrimEnd Removes all trailing occurrences of a set of characters specified in an array from the current string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 TrimStart Removes all leading occurrences of a set of characters specified in an array from the current string.

Top

Extension Methods

  Name Description
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 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> Converts 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> Merges two sequences by using the specified predicate function. (Defined by Enumerable.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToBoolean Infrastructure. For a description of this member, see ToBoolean.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToByte Infrastructure. For a description of this member, see ToByte.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToChar Infrastructure. For a description of this member, see ToChar.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToDateTime Infrastructure. For a description of this member, see ToDateTime.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToDecimal Infrastructure. For a description of this member, see ToDecimal.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToDouble Infrastructure. For a description of this member, see ToDouble.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToInt16 Infrastructure. For a description of this member, see ToInt16.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToInt32 Infrastructure. For a description of this member, see ToInt32.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToInt64 Infrastructure. For a description of this member, see ToInt64.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToSByte Infrastructure. For a description of this member, see ToSByte.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToSingle Infrastructure. For a description of this member, see ToSingle.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToType Infrastructure. For a description of this member, see ToType.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToUInt16 Infrastructure. For a description of this member, see ToUInt16.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToUInt32 Infrastructure. For a description of this member, see ToUInt32.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IConvertible.ToUInt64 Infrastructure. For a description of this member, see ToUInt64.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IEnumerable<Char>.GetEnumerator Returns an enumerator that iterates through the current String object.
Explicit interface implemetationPrivate methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 IEnumerable.GetEnumerator Returns an enumerator that iterates through the current String object.

Top

See Also

Reference