What is exact different between Hashtable<string,string> and Dictionary<string,string>?
Which is one is better to use in Asp.net MVC?
Can any one help me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In addition @Darin’s answer, the answer depends on your requirements. What are you trying to use it for? Because there are more alternatives:
Lookup<string,string>class.NameValueCollection.But usually you avoid using
Hashtablealtogether sinceDictionary<string,object>is a better replacement.