adplus-dvertising
frame-decoration

Question

Which among the following is a correct statement about namespace used in C#.NET?

a.

Classes must belong to a namespace, whereas structures need not

b.

All elements of the namespace must to belong to one file

c.

If not mentioned, a namespace takes the name of the current project

d.

All of the mentioned

Answer: (c).If not mentioned, a namespace takes the name of the current project

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which among the following is a correct statement about namespace used in C#.NET?