C# .Net Programing MCQs | Page - 2

Dear candidates you will find MCQ questions of C# .Net Programing here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

R

Ram Sharma • 193.86K Points
Coach

Q. The arrays involved in a jagged array_____________.

(A) Should be of same size.
(B) May be of different sizes.
(C) Are not known as subarrays.
(D) None of these.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. The parameters of a method __________.

(A) Help us to pass information to a method.
(B) Help us to get information from a method.
(C) Help us to pass information to and from a method.
(D) None of these.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. In the case of access modifiers___________.

(A) Private and protected access modifiers can be specified for a class.
(B) Public access modifier can be specified for a class.
(C) The scope of the internal access modifier is the namespace.
(D) None of these.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. In case of components and namespaces,

(A) Several classes may be present in a component.
(B) Classes contained in different source files may be part of same namespace.
(C) Classes contained in a source file may be from different namespaces.
(D) All the above.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. In the case of a component,

(A) Reusability is possible.
(B) Code will be in IL format.
(C) The extension is dll.
(D) All the above.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. The alias should have

(A) Improve the readability of the code.
(B) Avoid name clashes.
(C) Saves you typing out very long strings.
(D) All the above.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. A namespace can contain___________.

(A) Classes
(B) Namespaces
(C) Classes and namespaces
(D) None of these.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. An indexer________________.

(A) Enables us to access a property through index.
(B) Can have user-defined name.
(C) Is identified by its name.
(D) Cannot be overloaded.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. A property________________.

(A) Should have either a get method or put method.
(B) Should have both get and put methods.
(C) Should have a put method.
(D) Should have a get method.
View Answer Discuss Share

R

Ram Sharma • 193.86K Points
Coach

Q. A static constructor_____________.

(A) Can be accessed through an object name.
(B) Is executed when the class is loaded.
(C) Can have its own destructor.
(D) Can be executed any number of times.
View Answer Discuss Share

Jump to

Download our easy to use, user friendly Android App from Play Store. And learn MCQs with one click.

Image