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
Can a static class have a constructor c#?
Why do we use static methods in c#?
How to use the sreamReader class to read form a text file?
What is the difference between abstract class and interface in c#?
Does c# have its own class library?
What are the ways in which client can create object on server in cao model?
Explain synchronous and asynchronous operations?
Describe an interface class?
What is out int in c#?
What is the difference between do and while loop?
Explain about ODP.net
Are structs value types c#?
What is assembly and dll in c#?
What are scriptable objects?
Should I use double or float?