OOPS BASIC PROGRAM IN C#
CLASS PROGRAM:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Dotnet,C#,Sqlserver,Oops,Client side scripting,Gridview,Interview question,Reporting,Webservices and Wcf
Array
|
ArrayList
|
They are fixed length.
|
They are resizable and variable length.
|
They are compiled strong type collection.
|
They are flexible and can accommodate any data types.
|
Because arrays are of fixed size and strong type collection
performance is faster. |
In arraylist lots of boxing and unboxing are done there for
its
performance is slower. |