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

What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

542


What are generations and how are they used by the garbage collector?

507


Are arraylist faster or arrays?

480


What is the use of regex in c#?

488


What is regex c#?

480






Is string value type c#?

478


What is the difference between overriding and overloading in systemverilog?

448


Why do we use stringbuilder in c#?

502


What is dependency injection in simple words?

496


What is dictionary and hashtable in c#?

460


What is dependency in software?

515


How do I create a multilanguage, single-file assembly?

490


These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.

2497


What is c# windows form application?

489


What is parameterized constructor?

502