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
How many types of namespaces available in version4?
What does string format do?
In C#, explain the difference between overloading and overriding.
Is c# an open source?
What is the .NET collection class that allows an element to be accessed using a unique key?
Enlist all the components of an ado.net framework?
What is the difference between CONST and READONLY?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
How do I develop c# apps?
What is the predicate of a sentence?
How to move to a state-related codebase?
Explain states of a thread in c#?
How can I use .NET components from COM programs?
What is the default value of decimal in c#?
Can a abstract class have a constructor?