What is difference b/w Generic List and Arraylist, Generic
List Vs HashTable, Generic List Vs No Generic? Pls Explain
with example.
Answers were Sorted based on User's Feedback
Answer / debshankar bhattacharjee
Array List
1.Size/length of Array List can be increased or decreased
automatically.
2.Array list contains different types in the same array and
at the time of retrieving that value need to cast in
appropriate type.
Generic List:
Type of Generic list deceided at the time of compile and in
one generic list , we can include only any one type of
objects/value.
for example. if we write ,List<int> the this list can
contain only integer value.If we want to insert any string
then another list to be created.
Generic list is more efficient than arraylist
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / 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 |
How to comment out asp.net tags?
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
How would you get asp.net running in apache web servers? Explain it's limitations.
What is postback and autopostback in asp.net?
What data type does the RangeValidator control support?
Suppose there is one web farm with 3 servers inside with same configuration and the same project is running inside all servers.Which session mode is usde for all these and why?
• What Session State providers are available in ASP.NET? What are the pros and cons of each?
what is the purpose of update panel control in ajax?
What is the difference between globalization and localization?
What are the different ways you would consider sending data across pages in ASP (i.e between 1.asp to 2.asp)?
Explain which is best suited place in the Application Start and Session_Start subroutines with an example?
What is postback in asp net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)