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

i think we can use arraylist for dynamic size
for example
arraylist al= new arraylist();
al[0]="empname";
al[1]="empname is ............";

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# or c++ better for games?

641


How many dimensions can an array have?

646


Explain the security with aop?

829


What are c# attributes and its significance?

713


Is c# lazy thread safe?

676


How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?

803


What is delegates in c# and uses of delegates?

648


How long does it take to learn c# programming?

653


Explain the difference between // comments, /* */ comments and /// comments?

681


what are pointer types in c#

729


Explain data types in c#?

720


What is default constructor c#?

731


What is the and operator in c#?

701


Any problem found in vs.et

774


How does dependency injection work c#?

685