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
Which is faster hashtable or dictionary?
Which is better python or c#?
What does static mean in c sharp?
What is msil, and why should developers need an appreciation of it if at all?
What is string interpolation in c#?
What is getenumerator?
what is the index value of the first element in an array?
What is tryparse c#?
What is a nullreferenceexception?
What is difference between static and constant variable?
What is the difference between ref & out parameters in c#?
How to install or uninstall a windows service?
Contrast between an interface and abstract class?
Explain the difference between boxing and unboxing.
How do I format a string in c#?