Versions with this page:
Versions without this page:
将具有指定键和值的元素添加到哈希表中。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public Hashtable h; void Example() { h = new Hashtable(); h.Add(1, "one"); h.Add(2, "two"); } }