Mar 11, 2020

HASHTABLE COLLECTION IN C#


c# hashtable C# HASHTABLE             "Hashtable is a type of collection just like an ArrayList that store objects type data in memories with object key and value", but mostly the programmer prefer Hashtable against array list why because Hashtable is little bit different than ArrayList in C# see post's bottom.   SYNTAX OF HASHTABLE Like ArrayList it's require to add the System....

Mar 3, 2020

ARRAYLIST IN C# (Diff. b/w Array & ArrayList )


ArrayList in c#             "ArrayList is a class of Collections^ ,and it's a data structure that store collection of data just like an array". But it's is little bit different than ArrayList See the detail difference between Array and ArrayList at bottom of this page.   EXAMPLE OF ARRAYLIST       1.    How to declare ArrayList in C# To declare an ArrayList...

Mar 2, 2020

COLLECTIONS IN C#


collection in c# COLLECTIONS IN C# "Collections in c# are a dynamic array means it can store multiples items/values as object type like array."   Collection contain of many classes like ArrayList, Hashtable, Stack, Queue, Linkedlist, Sortedlist and many more in .net Why we use Collections instead of Array             The collection is came into play to eliminate some drawback of an array that's...