Top 150+ Solved C# Programming MCQ Questions Answer
Q. ______ parameters are used to pass results back to the calling method.
a. Input
b. Reference
c. Value
d. Output
Q. The formal-parameter-list is always enclosed in _______.
a. Square
b. Semicolon
c. Parenthesis
d. Colon
Q. _______ variables are visible only in the block they are declared.
a. System
b. Global
c. Local
d. Console
Q. A structure in C# provides a unique way of packing together data of ______ types.
a. Different
b. Same
c. Invoking
d. Calling
Q. A _______ creates an object by copying variables from another object.
a. Copy constructor
b. Default constructor
c. Invoking constructor
d. Calling constructor
Q. The methods that have the same name, but different parameter lists and differentdefinitions is called______.
a. Method Overloading
b. Method Overriding
c. Method Overwriting
d. Method Overreading
Q. The C# provides special methods known as _____ methods to provide access to data members.
a. Loop
b. Functions
c. Methods
d. Accessor
Q. Storage location used by computer memory to store data for usage by an application is ?
a. Pointers
b. Constants
c. Variable
d. None of the mentioned
Q. Which of these can be overloaded?
a. Constructors
b. Methods
c. Both a & b
d. None of the mentioned
Q. Correct statement about constructors in C#.NET is ?
a. Constructor cannot be overloaded
b. Constructor allocate space for object in memory
c. Constructor are never called explicitly
d. Constructor have same name as name of the class
Q. Constructors are used to
a. initialize the objects
b. construct the data members
c. both a & b
d. None of the mentioned
Q. To overload a method which of the following statement is false?
a. If the return type is different methods are overloaded
b. Name of the overloaded method should be same
c. Type of the parameter should be different
d. Order of the parameter should be different if types are same