System.Drawing.Point value type - Csharp.Net
Q. Which of the following are value types?- Published on 31 Aug 15a. String
b. System .Value
c. System.Drawing
d. System.Drawing.Point
ANSWER: System.Drawing.Point
There are two types are available in C#. Value Type and Reference Type. Value type are allocated on stack and reference types are allocated on managed heap. Predefined datatypes, structures, enums are value types. Class, Sting, Object etc are reference types. In the above example Point is struct so it is value type.