Tos*_*shi 0 c# null jagged-arrays
如何在锯齿状数组中使用空条件运算符的正确语法?
int[][][] array = new int[5][][]; // fill with data here bool result = array[0]?.[3]?.[2] ?? == 3;
该参考文献未提供任何有关该信息的信息
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/null-conditional-operators
Bac*_*cks 6
bool result = array?[0]?[3]?[2] == 3;
归档时间:
8 年,1 月 前
查看次数:
59 次
最近记录: