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
How do I create a single-file assembly?
What is difference between write and writeline in c#?
Is versioning applicable to private assemblies?
Is boxing an implicit conversion?
What do you mean by generic class in c#?
What are functions c#?
Explain the process of abstraction with an example?
When can a derived class override a base class member?
in object oriented programming, how would you describe encapsulation?
Distinguish between array and arraylist in c#?
What is a Command Object in C#?
Why do we use delegates in c#?
Are c# references the same as c++ references?
what class is underneath the sortedlist class?
What is .cshtml file?