Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

which datatype i have to use we i need dynamic size.for eg.
empname .in first row it have only five chars.but next row it
have 100 chars.

Answer Posted / radhika

i think we can use arraylist for dynamic size
for example
arraylist al= new arraylist();
al[0]="empname";
al[1]="empname is ............";

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is serverless?

900


What is the difference between continue and break statement?

1011


What are circular references? How garbage collection deals with circular references.

969


Why do we use dictionary in c#?

1042


What are c# types?

1131


Can arraylist store different data types in c#?

1047


Is c# different than c++?

942


How do you achieve polymorphism in c#?

951


What does console readline do?

937


What is the interface in c#?

997


What you mean by inner exception in c#?

1018


Explain copy constructor?

1193


Why do we need oops in c#?

991


Why do I get a syntax error when trying to declare a variable called checked?

1059


Define multicast delegate in c#?

973