what are value types and reference types? where they are stored?
Answer Posted / vaibhav
value type are variable of premitive data types like
int,float struct & refrence type are the instace of user
defied datatype like class,string, etc.
value type vatiable are stored on
stack ,refrence type variable are stored on heap.
Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Why we use extension method in c#?
What is the main usage of keyword “virtual†? How does it work for a method or property?
What are the extension methods in c#?
Define encapsulation?
What is dependency injection in simple words?
What are value types in c#?
What is cli in c#?
Why do we use static class in c#?
What are the different types of comments in c#?
Why delegates are type safe?
Why do we use stringbuilder in c#?
What is difference between class and abstract class in c#?
How does the lifecycle of Windows services differ from Standard EXE?
If dll and exe files are same it means you can deploy both the files in gac?
What is thread and explain states of a thread in c#?