Top 150+ Solved C# Programming MCQ Questions Answer
Q. Which namespace includes most of the Control classes for developing Windows applications?
a. System;
b. System.Windows.Controls
c. System.Windows.Components.Forms
d. System.Windows.Forms
Q. Which of the Control objects is viewed as a container that can hold other objects whenyou design a Windows application?
a. Control
b. Button
c. Window
d. Form
Q. When an instance method declaration includes the abstract modifier, the method is said tobe an ______.
a. Abstract method
b. Instance method
c. Sealed method
d. Expression method
Q. The theory of _____ implies that user can control the access to a class, method, orvariable.
a. Data hiding
b. Encapsulation
c. Information Hiding
d. Polymorphism
Q. The point at which an exception is thrown is called the _______.
a. Default point
b. Invoking point
c. Calling point
d. Throw point
Q. C# treats the multiple catch statements like cases in a _____________ statement.
a. If
b. Switch
c. For
d. While
Q. C# supports a technique known as________, which allows a method to specify explicitlythe name of the interface it is implementing.
a. Method Implementation
b. Implicit Interface Implementation
c. Explicit Interface Implementation
d. Iterative Interface Implementation
Q. The reason that C# does not support multiple inheritances is because of ______.
a. Method collision
b. Name collision
c. Function collision
d. Interface collision
Q. _______ is a set of devices through which a user communicates with a system using interactive set of commands.
a. Console
b. System
c. Keyboard
d. Monitor
Q. Exponential formatting character (‘E’ or ‘e’) converts a given value to string in the form of _______.
a. m.dddd
b. E+xxx
c. m.dddd
d. E+xxx
Q. The ______ are the Graphical User Interface (GUI) components created for web basedinteractions..
a. Web forms
b. Window Forms
c. Application Forms
d. None of the above
Q. In Microsoft Visual Studio, ______ technology and a programming language such as C#is used to create a Web based application.
a. JAVA
b. J#
c. VB.NET
d. ASP.NET