公告板
版本库
filestore
活动
搜索
登录
main
/
Project_SG_scripts
三国卡牌客户端代码仓库
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
0312 如果战场有任何报错,直接销毁战场,但无法显示正确结算
hch
2 天以前
173a7585a897c0c7338a66106f384b09da4d5db3
[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;
}
}