int i,string s, String s1 Which is valuetype which is
refrence type.
Answer Posted / ashish p
Int i => Value type ==>Stack allocation in memory
String S, S1 => Reference type==>heap allocation in memory
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How many parameters can a method have c#?
What is the use of flag in c#?
Describe two uses of the “using” statement during the operation of c#?
Explain about multithreading?
What is the advantage of generics in c#?
What are collections in c#?
Explain the differences between static, void and public in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What is the difference between arraylist and list in c#?
What is master page in asp net c#?
How to use nullable types in .net?
Define c# i/o classes?
What is the difference between asp net and c#?
Can you describe iuknown interface in short?
What is the purpose of namespace in c#?