Which of the following statements are correct about Structures used in C#.NET? A Structure can be declared within a procedure. Structs can implement an interface but they cannot inherit from another struct. struct members cannot be declared as protected. A Structure can be empty. It is an error to initialize an instance field in a struct.

Question:
 
Which of the following statements are correct about Structures used in C#.NET?

A Structure can be declared within a procedure.
Structs can implement an interface but they cannot inherit from another struct.
struct members cannot be declared as protected.
A Structure can be empty.
It is an error to initialize an instance field in a struct.

1. 1 2 4

2.2 3 5

3.2 4

4.1 3

Posted Date:-2021-02-25 02:50:13


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!