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