Which of the following assertions is true?
A. A struct never declares a default function Object() { [native code] }.
B. In C#, all value types necessarily come from ValueType, which derives from Object.
C. A struct never declares a default destructor.
D. In C#, classes and structs are semantically equivalent.
Answer:B
Which of the following assertions is true?
A. A struct never declares a default function Object() { [native code] }. B. In C#, all value types necessarily come from ValueType, which derives from Object. C. A struct never declares a default destructor. D. In C#, classes and structs are semantically equivalent.
Explanation: In C#, all value types originate from ValueType, which derives from Object.