公告板
版本库
filestore
活动
搜索
登录
main
/
Project_SG_scripts
三国卡牌客户端代码仓库
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'master' into h5version
yyl
2026-02-11
1ad03cc2f91d75e80fc3dc42e2ac1fadc9a2bfec
[Project_SG_scripts.git]
/
Main
/
Utility
/
CollectionExtensions.cs
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;
}
}