
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
137 Views
To get a collection of keys in the StringDictionary, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ StringDictionary strDict1 = new StringDictionary(); strDict1.Add("U", "Electronics"); strDict1.Add("V", "Toys"); ... Read More

AmitDiwan
140 Views
To check if the StringDictionary contains a specific value, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ StringDictionary strDict1 = new StringDictionary(); strDict1.Add("A", "John"); strDict1.Add("B", "Andy"); ... Read More

AmitDiwan
155 Views
To check if the StringDictionary contains a specific key, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ StringDictionary strDict1 = new StringDictionary(); strDict1.Add("A", "John"); strDict1.Add("B", "Andy"); ... Read More

AmitDiwan
214 Views
To check if two SortedSet objects are equal, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(){ SortedSet set1 = new SortedSet(); set1.Add(100); set1.Add(200); set1.Add(300); ... Read More

AmitDiwan
313 Views
To check if Hashtable contains a specific key, the code is as follows −Exampleusing System; using System.Collections; public class Demo { public static void Main() public static void Main(){ Hashtable hash = new Hashtable(); hash.Add("One", "Katie"); hash.Add("Two", "John"); ... Read More

AmitDiwan
143 Views
To check if Hashtable is read-only, the code is as follows −Example Live Demousing System; using System.Collections; public class Demo { public static void Main(){ Hashtable hash = new Hashtable(); hash.Add("One", "Katie"); hash.Add("Two", "John"); hash.Add("Three", "Barry"); ... Read More

AmitDiwan
185 Views
To check if the SortedSet contains a specific element, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(){ SortedSet set1 = new SortedSet(); set1.Add("CD"); set1.Add("CD"); set1.Add("CD"); ... Read More

AmitDiwan
259 Views
To check if a Stack has elements, use the C# Contains() method. Following is the code −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(){ Stack stack = new Stack(); stack.Push(100); stack.Push(150); stack.Push(175); ... Read More

AmitDiwan
130 Views
To check if a SortedSet object is a proper superset of the specified collection, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(){ SortedSet set1 = new SortedSet(); set1.Add(10); set1.Add(20); ... Read More

AmitDiwan
97 Views
To check if a SortedSet object is a proper subset of the specified collection, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(){ SortedSet set1 = new SortedSet(); set1.Add(20); set1.Add(40); ... Read More