
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 copy OrderedDictionary elements to Array instance at the specified index, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ OrderedDictionary dict = new OrderedDictionary (); dict.Add(1, "Harry"); dict.Add(2, ... Read More

AmitDiwan
95 Views
To copy ListDictionary to Array instance at the specified index, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ ListDictionary dict = new ListDictionary(); dict.Add(1, "Harry"); dict.Add(2, "Mark"); ... Read More

AmitDiwan
102 Views
To add the specified key and value into HybridDictionary, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ HybridDictionary dict = new HybridDictionary(); dict.Add("A", "Bags"); dict.Add("B", "Electronics"); ... Read More

AmitDiwan
102 Views
To add elements of the specified collection to the end of the List, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(String[] args){ List list = new List(); list.Add("Andy"); list.Add("Gary"); ... Read More

AmitDiwan
166 Views
To add new node or value at the start of LinkedList, the code is as follows −Example Live Demousing System; using System.Collections.Generic; public class Demo { public static void Main(){ LinkedList list = new LinkedList(); list.AddLast("A"); list.AddLast("B"); list.AddLast("C"); ... Read More

AmitDiwan
103 Views
To check if OrderedDictionary collection is read-only, the code is as follows −Example Live Demousing System; using System.Collections; using System.Collections.Specialized; public class Demo { public static void Main(){ OrderedDictionary dict = new OrderedDictionary(); dict.Add("1", "One"); dict.Add("2", "Two"); dict.Add("3", ... Read More

AmitDiwan
209 Views
To convert the value of the specified Decimal to the equivalent 16-bit unsigned integer, the code is as follows −Example Live Demousing System; public class Demo { public static void Main() { Decimal val = 875.647m; Console.WriteLine("Decimal value = "+val); ushort ... Read More

AmitDiwan
192 Views
To check if OrderedDictionary collection 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(){ OrderedDictionary dict = new OrderedDictionary(); dict.Add("1", "One"); dict.Add("2", "Two"); ... Read More

AmitDiwan
236 Views
To get the hash code for this instance, the code is as follows −Example Live Demousing System; public class Demo { public static void Main() { string[] arr = {"tom", "amit", "kevin", "katie"}; Type t1 = arr.GetType(); Type t2 = t1.GetElementType(); ... Read More

AmitDiwan
304 Views
To add an element into the Hashtable, the code is as follows −Example Live Demousing System; using System.Collections; public class Demo { public static void Main(){ Hashtable hash = new Hashtable(10); hash.Add("1", "A"); hash.Add("2", "B"); hash.Add("3", "C"); ... Read More