int i,string s, String s1 Which is valuetype which is
refrence type.
Answer Posted / mahesh
int i :- Value type it allocate on stach memory
string s, String s1 :- refference type it allocate on heap
memory
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What does the parsefloat function do?
What is dynamic in c#?
What is the default value of guid in c#?
What is iformatprovider in c#?
What is the difference between system.text.stringbuilder and system.string?
What is the role of the datareader class in ado.net connections?
How do you remove white spaces from a string?
What is the use of delegates in c#?
What is toint32 c#?
Explain About sn.exe
Why reflection is used in c#?
Is overriding of a function possible in the same class?
Can we inherit class that contains only one private constructor?
What is the task perform by clr?
Is learning c# hard?