The example demonstrates that the System.Collections.IDictionary.Add method throws an ArgumentException when attempting to add a duplicate key, or when a key or value of the wrong data type is supplied.

  • 该示例演示在尝试添加重复的键或者提供了数据类型不正确的键或值时;System.;Collections
目录 查词历史