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.
Answers were Sorted based on User's Feedback
When there is a requirement of storing different length of
characters in an array . We can use jagged arrays.
int[][] jagged = new int[3][];
jagged[0] = new int { 1,2,3 };
jagged[1] = new int { 1, 2, 3, 4, 5 };
jagged[3] = new int { 1, 2, 3, 4, 5, 6, 7, 8,9};
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
how to use caching in our program. why we use it give one example in code
Explain about Threading Types.
What does the keyword virtual mean in the method definition?
What is a clr (common language runtime)?
What is lazy keyword in c#?
About multi level and multiple inheritance how to achieve in .net ?
Why singleton pattern is used in c#?
What is gridview c#?
Is datetime nullable c#?
What is ControlBox Propertie
Why ienumerable is used in c#?
what are the events in delegate?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)