yyl
6 天以前 70f865f03204dcc2bc0a9ecc9804f35e5b7625b3
1
2
3
4
5
6
7
8
9
10
11
using System;
using System.Collections.Generic;
 
public static class CollectionExtensions
{
    public static bool Contains<T>(this T[] source, T value)
    {
        return Array.IndexOf(source, value) != -1;
    }
 
}