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 is deadly diamond problem?

540


What is a clr (common language runtime)?

481


What is difference between an Structure and Class?

567


What is difference between C# and VB.NET?

512


What are the steps to create an assembly and add it to the gac?

460






Does google use c#?

516


Why is c# used?

479


What is _layout cshtml?

482


Value Type and Reference Type Data type in C#?

551


What is ienumerable and iqueryable?

504


How more than one version of an assembly can keep in same place?

514


To allow an element to be accessed using a unique key which .NET collection class is used ?

616


What is the purpose of ienumerable in c#?

493


Can an abstract class inherit from another abstract class c#?

545


What’s a strong name?

523