Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
C#
1.9K+ articles
CSharp-method
701+ articles
CSharp-Collections-Namespace
196+ articles
CSharp-Specialized-Namespace
91+ articles
CSharp-Specialized-StringDictionary
17 posts
Recent Articles
Popular Articles
How to create a StringDictionary in C#
Last Updated: 27 February 2019
StringDictionary() constructor is used to initialize a new instance of the StringDictionary class which will be empty and will have the default initial capacity. StringDic...
read more
C#
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
How to get Synchronize access to the StringDictionary in C#
Last Updated: 21 February 2019
StringDictionary.SyncRoot Property is used to get an object which can be used to synchronize access to the StringDictionary. It only allows string keys and string values. ...
read more
C#
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Gets or sets the value at the specified key in StringDictionary
Last Updated: 01 February 2019
StringDictionary.Item[String] Property is used to get or set the value associated with the specified key.Syntax:public virtual string this[string key] { get; set; }Here, k...
read more
C#
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Check if two StringDictionary objects are equal or not
Last Updated: 01 February 2019
Equals(Object) Method which is inherited from the Object class is used to check if a specified StringDictionary object is equal to another StringDictionary object or not.S...
read more
C#
CSharp-method
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# StringDictionary Class
Last Updated: 06 February 2025
In C#, the StringDictionary class is the part of the System.Collections.Specialized namespace. It is a collection of key-value pairs where the keys are strings and values ...
read more
C#
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Get a collection of values in the StringDictionary
Last Updated: 01 February 2019
StringDictionary.Values property is used to get a collection of values in the StringDictionary.Syntax:public virtual System.Collections.ICollection Values { get; }Return V...
read more
C#
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Get a collection of keys in the StringDictionary
Last Updated: 01 February 2019
StringDictionary.Keys property is used to get a collection of keys in the StringDictionary.Syntax:public virtual System.Collections.ICollection Keys { get; }Return Value: ...
read more
C#
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Get or set the value associated with the specified key in StringDictionary
Last Updated: 01 February 2019
StringDictionary is a specialized collection. It is found in the System.Collections.Specialized namespace. It only allows string keys and string values. It suffers from pe...
read more
C#
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Get an enumerator that iterates through the stringDictionary
Last Updated: 01 February 2019
StringDictionary.GetEnumerator method is used to return an enumerator that iterates through the string dictionary.Syntax:public virtual System.Collections.IEnumerator GetE...
read more
C#
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Check if the StringDictionary contains a specific key
Last Updated: 01 February 2019
StringDictionary.ContainsKey(String) method is used to check whether the StringDictionary contains a specific key or not.Syntax:public virtual bool ContainsKey (string key...
read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Add key and value into StringDictionary
Last Updated: 01 February 2019
StringDictionary.Add(String, String) method is used to add an entry with the specified key and value into the StringDictionary. Syntax:public virtual void Add (string key,...
read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Removing all entries from the StringDictionary
Last Updated: 01 February 2019
StringDictionary.Clear method is used to remove all the entries from the StringDictionary.Syntax:public virtual void Clear ();Exception: This method will give the NotSuppo...
read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Copy StringDictionary to Array at the specified index
Last Updated: 01 February 2019
StringDictionary.CopyTo(Array, Int32) method is used to copy the string dictionary values to a one-dimensional Array instance at the specified index.Syntax:public virtual ...
read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Remove entry with specified key from the StringDictionary
Last Updated: 01 February 2019
StringDictionary.Remove(String) method is used to remove the entry with the specified key from the string dictionary.Syntax:public virtual void Remove (string key);Here, k...
read more
C#
CSharp-method
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
C# | Check if StringDictionary is synchronized (thread safe)
Last Updated: 01 February 2019
StringDictionary.IsSynchronized property is used to get a value indicating whether access to the StringDictionary is synchronized (thread-safe).Syntax:public virtual bool ...
read more
C#
CSharp-Collections-Namespace
CSharp-Specialized-Namespace
CSharp-Specialized-StringDictionary
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !