我有一个颜色字典,如下所示。
Dictionary<string, List<System.Drawing.Color>> channelColorInformation =
new Dictionary<string, List<System.Drawing.Color>>();
List<System.Drawing.Color> colorInfo = new List<System.Drawing.Color>();
System.Drawing.Color color = System.Drawing.ColorTranslator.FromHtml("#FFF0F8FF");
colorInfo.Add(color);
color = System.Drawing.ColorTranslator.FromHtml("#FFFAEBD7");
colorInfo.Add(color);
color = System.Drawing.ColorTranslator.FromHtml("#FF00FFFF");
colorInfo.Add(color);
channelColorInformation.Add("Channel1", colorInfo);
如何System.Drawing.Color
从字典中获取Channel1
索引 0、1、2 的信息?