添加项目文件。
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.Inspection.Common
|
||||
{
|
||||
public class CollectionUtil
|
||||
{
|
||||
/// <summary>
|
||||
/// 生成ushort List集合
|
||||
/// </summary>
|
||||
/// <param name="Num"></param>
|
||||
/// <returns></returns>
|
||||
public static List<short> GetListUShort(int Num)
|
||||
{
|
||||
List<short> list = new List<short>();
|
||||
for (int i = 0; i < Num; i++)
|
||||
{
|
||||
list.Add(1);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user