hch
2025-12-17 f7649d6ebfe7f0a6a95ce4124b4e0f2207b74c8f
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;
    }
 
}