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 / kishore

we can use arraylist for dynamic size

Example:
Arraylist arlst=new Arraylist();
arlstl[0]="empname";
arlstl[1]="xyzz.........";

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about device context?

1004


Where value types are stored in c#?

983


How does dependency injection work c#?

993


What are the types of constructors?

958


What is field in c#?

967


What does public mean in c#?

969


How to use the sreamReader class to read form a text file?

1035


How do I create a dbml file?

1036


What is difference between for and foreach in c#?

1049


Explain About Web.config

1023


How do you declare an arraylist?

1025


What I can do with c#?

991


Explain the difference between pass by value and pass by reference.

994


What is the difference between select and selectmany?

1008


What is difference between string and stringbuilder in c#?

1018