using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
Dictionary<int, string> myDictionary = new Dictionary<int, string>();
// 添加元素到字典
myDictionary.Add(1, "Apple");
myDictionary.Add(2, "Banana");
myDictionary.Add(3, "Orange");
// 获取第一个键
int firstKey = myDictionary.Keys[0];
Console.WriteLine("First Key: " + firstKey);
}
}