Skip to content

M_Cyjb_CommonExceptions_CheckSimplyArray

CYJB edited this page Mar 20, 2024 · 13 revisions

CommonExceptions.CheckSimplyArray 方法

检查指定的数组,如果为 null,或者不是下限为零的一维数组则抛出相应异常。

Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public static void CheckSimplyArray(
	Array array,
	string? paramName = null
)

参数

 

array
Type: System.Array
要检查的数组。
paramName (Optional)
Type: System.String
数组参数的名称。

参见

Reference

CommonExceptions 类
Cyjb 命名空间

Clone this wiki locally