Top 150+ Solved C# Programming MCQ Questions Answer
Q. Which of the following are parts of the .NET Framework? 1. The Common Language Runtime (CLR) 2. The Framework Class Libraries (FCL) 3. Microsoft Published Web Services 4. Applications deployed on IIS 5. Mobile Applications
a. Only 1, 2, 3
b. Only 1, 2
c. Only 1, 2, 4
d. Only 4,5
Q. All C# applications begin execution by calling the _____ method.
a. Class()
b. Main()
c. Submain()
d. Namespace
Q. A _______ is an identifier that denotes a storage location
a. Constant
b. Reference type
c. Variable
d. Object
Q. _________ are reserved, and cannot be used as identifiers.
a. Keywords
b. literal
c. variables
d. Identifiers
Q. Boxing converts a value type on the stack to an ______ on the heap.
a. Bool type
b. Instance type
c. Class type
d. Object type
Q. The character pair?: is an________________available in C#.
a. Unary operator
b. Ternary operator
c. Decision operator
d. Functional operator
Q. In C#, all binary operators are ______.
a. Center-associative
b. Right-associative
c. Left-associative
d. Top-associative
Q. An _______ is a symbol that tells the computer to perform certain mathematical orlogical manipulations.
a. Operator
b. Expression
c. Condition
d. Logic
Q. C# has _______ operator, useful for making two way decisions.
a. Looping
b. Functional
c. Exponential
d. Conditional
Q. ________causes the loop to continue with the next iteration after skipping any statementsin between.
a. Loop
b. Exit
c. Break
d. Continue
Q. An ____ is a group of contiguous or related data items that share a common name.
a. Operator
b. Integer
c. Exponential
d. Array
Q. Multidimensional arrays are sometimes called _______ Arrays.
a. Square
b. Triangular
c. Rectangular
d. Cube