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
What do you know about device context?
Where value types are stored in c#?
How does dependency injection work c#?
What are the types of constructors?
What is field in c#?
What does public mean in c#?
How to use the sreamReader class to read form a text file?
How do I create a dbml file?
What is difference between for and foreach in c#?
Explain About Web.config
How do you declare an arraylist?
What I can do with c#?
Explain the difference between pass by value and pass by reference.
What is the difference between select and selectmany?
What is difference between string and stringbuilder in c#?