Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Valuetype/reference type?

Answers were Sorted based on User's Feedback



Valuetype/reference type?..

Answer / kalyani

String is not a value Type.It is a reference Type.

Is This Answer Correct ?    6 Yes 1 No

Valuetype/reference type?..

Answer / kamlesh sharma

value types are stack allocated and reference types are
heap allocated

value types holds the actual data stored at variable
location and reference types holds the addresses

Is This Answer Correct ?    3 Yes 0 No

Valuetype/reference type?..

Answer / vijay sharma

ValueType are the normal datatype like string,int, float
etc. and they are stored on stack whereas ReferenceType are
the object type like classes and they are stored at heap.

Is This Answer Correct ?    4 Yes 2 No

Valuetype/reference type?..

Answer / naveen

struct is an example of value type.

Is This Answer Correct ?    2 Yes 0 No

Valuetype/reference type?..

Answer / sri

Value types are stored directly on the stack, either within
an array or within another type.

Reference type are stored on the run time heap.That only
accessed through a reference to that storage.

Is This Answer Correct ?    2 Yes 0 No

Valuetype/reference type?..

Answer / nitin

Value type directly contain their data in stack and
reference type store a reference to variable's memory
address

value type uses stack and reference type uses heap to store
data

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is an extension method in c#?

0 Answers  


What is difference between dll and exe in c#?

0 Answers  


What is cli in c#?

0 Answers  


Give an example of a directcast.

0 Answers  


How do you type a null character?

0 Answers  


Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

0 Answers   Siebel,


What is multithreading with .net?

0 Answers  


What are anonymous methods ? why these methods are used and in what condition these methods are useful ?

1 Answers  


Explain About web methods and its various attributes

0 Answers   Digital GlobalSoft,


Can we inherit a class with private constructor in c#?

0 Answers  


What is native image generator (ngen.exe)?

0 Answers  


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

2 Answers   Siebel Systems,


Categories