hch
2025-12-31 4debfee66e8d8aabd179e2f8a61c7ca5ce62af3d
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;
    }
 
}