What is difference b/w Generic List and Arraylist, Generic
List Vs HashTable, Generic List Vs No Generic? Pls Explain
with example.

Answer Posted / mani

Array list can increase and decrease size dynamically.You
donot use the REDIM keyword. You can access any item in
array using the INDEX value of the array position.

You can access array using INDEX value of array. but how
many times you know the real value of INDEX . Hashtable
provides way of accessing index using user identified key
value,thu removing the INDEX problem.

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the .webpart file do?

806


How can you pass multiple complex types in Web API?

792


Explain how do you validate the controls in an asp .net page?

723


How do I use a proxy server when invoking a web service?

763


What is the difference between stored procedure vs function?

810


Why mvc is faster than asp.net? : Asp.Net MVC

772


Explain what does mvc represent in asp.net? : asp.net mvc

722


Why is global asax is used?

821


Is viewstate enabled by default?

748


How does session work in asp net?

813


How many types of session state management options available in asp.net?

810


Write some code using interfaces, virtual methods, and an abstract class`

1850


Which is better viewstate or session?

732


What is data cache in sql server?

851


What is a 401 redirect?

726