2012-02-29 42 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

這將是一個三維陣列。