which is better arraylist or dictionary?
Answers were Sorted based on User's Feedback
Answer / lavanya
arraylist accepts any type of object. when we create an
arraylist it allows duplicate values.
in dictionary it maintains key and value which is specific
type (i.e, either its int or string or any datatype)
it will not allow duplicates.
so dictionary is better in some requirements.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is http response header?
How to create events for a control?
How can you ensure a permanent cookie?
What is the result when the Web Form containing the following line is complied and executed? <asp:Button id=?thebutton? onClick=?theEvent? /> a) The button control is created; theEvent is the click event handler. b) Compiler error; the control must be set to runat=?server?. c) Compiler error; onClick is not a valid attribute. d) Runtime Exception; the control must be set to runat=?server?.
Explain page output caching?
What is AutoPostback?
what is uncle aunty file
code for inserting images into gridview colomns from database
What is difference between URL and URI?
What methods are fired during the page load? Init()
explain code with datachaching with example
What is the use of web.config file?
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)