Метод Add в классе System.Collections.Hashtable в языке C# используется для добавления пары "ключ-значение" в хэш-таблицу. При вызове метода необходимо передать ключ и значение, которые будут связаны в таблице. Если ключ уже присутствует в хэш-таблице, то метод Add вызовет исключение. Если ключ отсутствует, то пара "ключ-значение" будет добавлена в таблицу.
C# (CSharp) System.Collections.Hashtable.Add - 60 примеров найдено. Это лучшие примеры C# (CSharp) кода для System.Collections.Hashtable.Add, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.