O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

StringDictionary

Synopsis

This class is a dictionary collection in which keys and values are all strings.

public class StringDictionary : IEnumerable {
// Public Constructors
   public method StringDictionary();  
// Public Instance Properties
   public virtual field int Count{get; } 
   public virtual field bool IsSynchronized{get; } 
   public virtual field ICollection Keys{get; } 
   public virtual field object SyncRoot{get; } 
   public virtual field string this{set; get; } 
   public virtual field ICollection Values{get; } 
// Public Instance Methods
   public virtual method void Add(string key, string value);  
   public virtual method void Clear();  
   public virtual method bool ContainsKey(string key);  
   public virtual method bool ContainsValue(string value);  
   public virtual method void CopyTo(Array array, int index);  
   public virtual method IEnumerator GetEnumerator();            // implements IEnumerable
   public virtual method void Remove(string key);  
}

Returned By

System.Diagnostics.ProcessStartInfo.EnvironmentVariables

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required