Programming Languages C# Objective
Mar 08, 2013

Which of the following statements is correct?

Choose the correct answer:
A) A struct never declares a default constructor.
B) All value types in C# inherently derive from ValueType, which inherits from Object.
C) A struct never declares a default destructor.
D) In C#, classes and structs are semantically same.
Detailed Explanation

Option B is the right answer.

Discussion (0)

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

Share Your Thoughts
Feedback