Somewhere between the grandiose and the nothing.
public static bool HasDuplicates<T>( this IEnumerable<T> sequence ) {
if ( null == sequence ) {
throw new ArgumentNullException( "sequence" );
}
return sequence.Duplicates().Any();
Post a Comment
No comments :
Post a Comment