questions

A. Delegate
B. Event
C. Namespace
D. Interface
A. Static constructors can use optional arguments.
B. If we provide a one-argument constructor then the compiler still provides a zero-argument constructor.
C. If we do not provide a constructor, then the compiler provides a zero-argument constructor.
D. Overloaded constructors cannot use optional arguments.
A. It contains class-level attributes.
B. It contains method-level attributes.
C. It contains structure-level attributes
D. It contains assembly-level attributes.
A. C# provides a copy constructor.
B. A constructor can be used to set default values and limit instantiation.
C. A class can have more than one destructor
D. Destructors are used with classes as well as structures.
A. [ assembly : AssemblyDescription("DCube Component Library") ]
B. [ AssemblyDescription("DCube Component Library") ]
C. < Assembly: AssemblyDescription("DCube Component Library") >
D. [ Assemblylnfo : AssemblyDescription("DCube Component Library") ]
A. To create a custom attribute we need to create a class and implement IAttribute interface in it.
B. To create a custom attribute we need to create a custom attribute structure and derive it from System.Attribute.
C. The CLR can change the behaviour of the code depending upon the attributes applied to it.
D. If a BugFixAttribute is to receive three parameters then the BugFixAttribute class should implement a zero-argument constructor.
A. intMyArr refers to a 2-D jagged array containing 3 rows.
B. intMyArr refers to a 2-D jagged array containing 2 rows.
C. intMyArr refers to a 3-D jagged array containing three 2-D jagged arrays.
D. intMyArr refers to a 3-D jagged array containing 2 2-D jagged arrays.
A. The rank of an Array is the total number of elements it can contain.
B. Array elements can be of integer type only.
C. The default value of numeric array elements is zero.
D. The length of an Array is the number of dimensions in the Array.
A. 0
B. 1
C. Any number of values.
D. Depends upon how many params arguments does it use.
A. Add Reference of the namespace. Import the namespace. Use the elements of the namespace.
B. Add Reference of the namespace. Use the elements of the namespace
C. Copy the library in the same directory as the project that is trying to use it. Use the elements of the namespace.
D. Import the namespace. Use the elements of the namespace.