[英]What would T[, ,] mean in C#
I have the generic-enabled class that is decleared as: 我有一个泛型的类被删除为:
public class Image<TColor, TDepth>
: CvArray<TDepth>, IImage, IEquatable<Image<TColor, TDepth>>
where TColor : struct, IColor
where TDepth : new()
{
private TDepth[, ,] _array;
What would TDepth[, ,]
mean in this case? 在这种情况下
TDepth[, ,]
意味着什么? That it is just a two-dimensional array? 它只是一个二维数组?
It is a Multidimensional Array
. 它是一个
Multidimensional Array
。 In this case, it has 3 dimensions. 在这种情况下,它有3个维度。
it is just a two-diminsional array?
它只是一个两个diminsional阵列?
Close, but no: it's a 3-dimensional array. 关闭,但不是:它是一个三维数组。
这将是一个三维数组。
that's a 3-dimensional array 这是一个三维数组
http://msdn.microsoft.com/en-us/library/2yd9wwz4.aspx http://msdn.microsoft.com/en-us/library/2yd9wwz4.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.