Hastbale
what is use of hast table?? can we use directory in .net framework 3.5?? what is exactly key - value pair?? plz give detail explanation..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sujeet SumanPosted Aug 6, 2015, 7:12 AM
Raja TPosted Aug 6, 2015, 6:10 AM
Dictionary.Rajeesh MenothPosted Aug 6, 2015, 6:06 AM
Swapnil MachePosted Aug 6, 2015, 6:05 AM
Swapnil MachePosted Aug 6, 2015, 6:04 AM
Raja TPosted Aug 6, 2015, 6:03 AM
Dictionaryis a generic type, allowing:If you are .NET 2.0 or above, you should prefer
Dictionary(and the other generic collections)If you want to find something in a hashtable you dont have to go through each value in hashtable, instead search for key values and is faster.
Munesh SharmaPosted Aug 6, 2015, 6:02 AM
ht.Add("1", "Sunday");ht.Add("2", "Monday");
ht.Contains("1")