lcy
2026-04-21 af8a1b485e4276e0d0c52e9f7367efe3ed1ca34e
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;
    }
 
}