What would T [,] mean in C #

I have a class that supports a generic class, which decreases as:

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

What does TDepth[, ,] mean in this case? What is it just a two-dimensional array?

+4
source share
4 answers

is it just a two-dimensional matrix?

Close, but no: this is a three-dimensional array.

+6
source

This is a Multidimensional Array . In this case, it has 3 dimensions.

+7
source

It will be a three-dimensional array.

+6
source

Source: https://habr.com/ru/post/1398928/


All Articles