2012-02-29 45 views
4

我有一个decleared作为启用通用类:什么将T [,]意味着C#

public class Image<TColor, TDepth> 
     : CvArray<TDepth>, IImage, IEquatable<Image<TColor, TDepth>> 
     where TColor : struct, IColor 
     where TDepth : new() 
    { 
     private TDepth[, ,] _array; 

什么会TDepth[, ,]意味着在这种情况下?这只是一个二维数组?

回答

6

它只是一个双diminsional数组?

关闭,但不是:它是一个三维数组。

6

这将是一个三维阵列。