public static string SequenceToString <T>(this IEnumerable <T> sequence, char separator) { return(IEnumerableExtensions.SequenceToString <T>(sequence, separator.ToString())); }
public static string SequenceToString <T>(this IEnumerable <T> sequence) { return(IEnumerableExtensions.SequenceToString <T>(sequence, string.Empty)); }
public static int Xor(this IEnumerable <int> sequence) { return(IEnumerableExtensions.Xor <int>(sequence, (Func <int, int>)(value => value))); }
public static string SequenceToString <T>(this IEnumerable <T> sequence, string separator, string prefix) { return(IEnumerableExtensions.SequenceToString <T>(sequence, separator, prefix, string.Empty)); }
public static bool IsStrictOrdered <T, TKey>(this IEnumerable <T> sequence, Func <T, TKey> keySelector) { return(IEnumerableExtensions.IsStrictOrdered <T, TKey>(sequence, keySelector, (IComparer <TKey>)Comparer <TKey> .Default)); }
public static long Xor(this IEnumerable <long> sequence) { return(IEnumerableExtensions.Xor <long>(sequence, (Func <long, long>)(value => value))); }
public static bool IsStrictOrdered <T>(this IEnumerable <T> sequence) { return(IEnumerableExtensions.IsStrictOrdered <T, T>(sequence, (Func <T, T>)(element => element))); }
public static int UShortsSequenceGetHashCode(this IEnumerable <ushort> sequence) { int i = 0; return(IEnumerableExtensions.Xor <ushort>(sequence, (Func <ushort, int>)(b => (int)b << 16 * (i++ % 2)))); }
public static int BytesSequenceGetHashCode(this IEnumerable <byte> sequence) { int i = 0; return(IEnumerableExtensions.Xor <byte>(sequence, (Func <byte, int>)(b => (int)b << 8 * (i++ % 4)))); }
public static int SequenceGetHashCode <T>(this IEnumerable <T> sequence) { return(IEnumerableExtensions.Xor <T>(sequence, (Func <T, int>)(value => value.GetHashCode()))); }
public static string BytesSequenceToHexadecimalString(this IEnumerable <byte> sequence) { return(IEnumerableExtensions.BytesSequenceToHexadecimalString(sequence, string.Empty)); }