what are value types and reference types? where they are stored?

Answer Posted / pankaj

value types------int,float,char
reference type----Array,class

value types stored in stack while reference type stored in heap.
in reference type address f variables are stored

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how obfuscator works in .net

550


Is unboxing an implicit conversion?

542


Explain more on CLR

755


What is the use of oops in c#?

506


What is meant by desktop application?

501






What is the difference between int16 and int32 in c#?

478


Is null == null c#?

482


How do you clear a list in c#?

501


Is c# an open source language?

550


Explain About stateless and state full web service

570


What is a void c#?

510


What are jump statements in c#?

508


what are the contents of an assembly ?

557


Is and as keyword in c# net?

531


What is console programming language?

487