MCQ Practice
All Countries ๐ Mcq University Model MCQ Single Answer ENGLISH C# - SCOPE AND LIFETIME OF VARIABLES 2025
Focused practice with instant answer feedback, progress tracking, and community notes in one consistent workspace.
Answer feedback follows the same pattern everywhere on BrainBoost.
Green means correct, red means incorrect, and your selected answer is underlined in purple.
Question Set
Interest
Timer
Question
Q: Select differences between reference type and value type: i. Memory allocated to 'Value type' is from heap and reference type is from 'System.ValueType'. ii. Memory allocated to 'Value type' is from 'System.ValueType' and reference type is from 'Heap'. iii. Structures, enumerated types derived from 'System.ValueType' are created on stack, hence known as ValueType and all 'classes' are reference type because values are stored on heap.
Value types are stored on the stack, while reference types are stored on the heap.