Valuetype/reference type?
Answers were Sorted based on User's Feedback
Answer / kalyani
String is not a value Type.It is a reference Type.
| Is This Answer Correct ? | 6 Yes | 1 No |
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 |
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 |
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 |
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 |
What is the Signification of the "new " keyword in C#? example
In Main function another function is there and to that function if we pass string as parameter ,then that string value is passed by value or reference type?
What is difference between string and stringbuilder in c#?
what is the difference between a struct and a class in c#?
What is stack and heap?
Whats an assembly? Describe the importance of assembly?
What is ulong in c#?
What is list collection in c#?
Is arraylist thread safe?
Is dictionary a collection?
What is the difference between function and method in c#?
What is bit in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)