color[,]结构
public void OpenImg(ref Datasets _Geodatasets,ref int[,,] ByteZImg)
         {
             Dataset diare = null;
             for (int i = 0; i < _Geodatasets.Count; i++)
             {
                 diare = _Geodatasets[i];
                 if (diare.Type == DatasetType.Image)
                 {
                     DatasetImage _testImage = (DatasetImage)_Geodatasets[i];
                     _testImage.Open();
                     int imgHeight = _testImage.Height;
                     int imgWidth = _testImage.Width;
                     color[,] Img = new Color[imgHeight, imgWidth];
                     for (int m = 0; m < imgHeight; m++)
                     {
                         for (int n = 0; n < imgWidth; n++)
                         {
                             Img[m, n] = (int)_testImage.GetPixel(m, n);
                         }
                     }
                     _testImage.Close();
                     _testImage = null;
                 }
             }
         }
错误1    
找不到类型或命名空间名称“color”(是否缺少 using 指令或程序集引用?)	
错误2	无法将类型“System.Drawing.Color[*,*]”隐式转换为“color[*,*]”	
错误3	无法将类型“System.Drawing.Color”转换为“int”
这是为什么啊 我已经加了system.drawing引用
------解决方案--------------------