What is the difference between array and arraylist c#?



What is the difference between array and arraylist c#?..

Answer / Ajay Kumar Bhartiya

Array is a fixed-size collection of elements of the same data type that are stored in contiguous memory locations, while ArrayList is a dynamic array that can resize itself as needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the purpose of ienumerable in c#?

1 Answers  


What?s the top .NET class that everything is derived from?

7 Answers  


What is default class in c#?

1 Answers  


Why cannot you specify the accessibility modifier for methods inside the interface?

1 Answers  


why delegate is type safe?

1 Answers   IBS,


What is the .NET collection class that allows an element to be accessed using a unique key?

1 Answers   Siebel,


what is an event? Define delegate?

1 Answers  


What is an extension method in c#?

1 Answers  


Define an abstract class?

1 Answers  


What is the difference between console application and windows application?

1 Answers  


What is keywords in c#?

1 Answers  


How to properly clean up excel interop objects?

1 Answers  


Categories