Value Type and Reference Type Data type in C#?
Answer / Chandra Prakash Chaudhary
Value Types are Structs (including Enums) and they are stored on the stack memory. They are copied by value. Reference Types are Classes, Interfaces, Arrays, Strings, and Delegates. They are stored on the heap memory and they are copied by reference.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is it efficient to use System.string under System.Text.StringBuilder ?
Define delegate?
Can a struct inherit from an interface in c#?
Can a struct inherit from another struct or class in c#?
What is the compiler of c#?
How to assign default value to nullable types? Did nested nullable types are allowed
What is the default value of string in c#?
What is the use of expression tree in c#?
Why is .net so popular?
What is appdomain in c#?
What is thread in c#?
what does static void Main(string[] args) in C# mean????????
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)