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 |
In which event are the controls fully loaded?
What property is used on the datatable to indicate a conflict after an update? a) HasConflict b) HasError c) HasCollision d) HasDataError
What is localhost in asp.net?
What is the asp.net control toolkit?
How to Insert/Add in ASPXgridview
What is the importance of Global.asax in ASP.NET?
Describe how ASP.NET maintains process isolation for each Web application?
Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and passwords). Which one is trusted and which one is untrusted?
I have a datagrid of 10 rows and I am updating the fifth row using template column edit. How wil u know that the row is updated, so that it can be send to database for updating the respective table?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control?
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)