Distinguish between array and arraylist in c#?
Answer / Vijendra Sharma
In C#, an Array is a collection of elements having the same data type. It is a fixed size container meaning you cannot change its size once it is declared. On the other hand, ArrayList is a dynamically resizable array that can be used to store a group of objects or values. Unlike arrays, ArrayList allows adding and removing elements during runtime.
| Is This Answer Correct ? | 0 Yes | 0 No |
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
What is querystring in c#?
What is the purpose of c#?
How many types of serialization are there in c#?
What does dbml mean in texting?
Is string immutable in c#?
Can you declare a C++ type destructor in C# like ~MyClass() ?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
What do you mean by expression tree?
what is IComparable
what is the purpose of using statement in c#
What are Types of assemblies that can be created in dotnet
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)