12>>
1.

For all the predefined system exception in C#, System.SystemException class is the base class?


A) true

B) false



2.

Which statement is the correct about namespaces in C#?


A) A namespace provides a way to keep one set of names separate from another.

B) Same class name can be used in different namespaces.

C) Keyword using is used to include the namespace in the program.

D) All of the above.



3.

Which statement is the correct about interfaces in C#?


A) Interface uses the interface keyword for the declaration.

B) Interface methods are public by default.

C) Both of the above.

D) None of the above.



4.

Which statement is true about C# structures vs C# classes?


A) Structs are value types and classes are reference types.

B) Structures do not support inheritance.

C) Structures cannot have default constructor

D) All of the above.



5.

Which property is used to get the total number of elements in all the dimensions of the Array as a a 64-bit integer in C#?


A) Rank

B) LongLength

C) Length

D) None of the above.



12>>