Programming Languages C# Objective
Mar 08, 2013

When would a structure variable get destroyed?

Choose the correct answer:
A) When no reference refers to it, it will get garbage collected.
B) Depends upon whether it is created using new or without using new.
C) When it goes out of scope.
D) Depends upon the Project Settings made in Visual Studio.NET.
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback