Professional Documents
Culture Documents
a. Overloading
b. Loading
c. Multiplexing
d. Duplexing
2. If a class is using an interface, it must?
a. inherit the properties of the interface
b. contain the same methods as the interface
c. create an interface object
d. all of the above
3. Sealed Classes cannot be a base class?
a. Yes
b. No
c. Both
d. None
4. Features of Read only variables?
a. It is allocated at compile time
b. Declaration and initialization is separated
c. It is allocated at runtime
d. All of these
5. A variable which is declared inside a method is called a________variable?
a. Serial
b. Local
c. Private
d. Static
6. C# runs on the ___.
a. .NET Framework
b. Java Virtual Machine
c. Both A. and B.
d. None of the above
7. Every C# statement is terminated by ___.
a. Colon (:)
b. Semicolon (;)
c. Comma (,)
d. Dot (.)
8. Which C# keyword is used to define a constant?
a. define
b. fixed
c. constant
d. Const
9. Which is the correct C# statement to convert a float value to int
explicitly?
a. int_variable = (int) float_variable;
b. int_variable = float_variable;
c. int_variable = (int) (float_variable);
d. int_variable = int *float_variable);
10. What will be the output of the following C# code?
using System;
namespace MyApplication {
class Program {
bool x = true;
Console.Write(Convert.ToString(x));
a. True
b. true
c. False
d. False
} while (test_condition);
b. do
statement(s);
} while (test_condition)
c. do(test_condition) {
statement(s);
}while;
d. do {
statement(s);
} while (test_condition);
Links
1. https://freecomputernotes.com/dot%20net%20questions/dot
%20net%20multiple%20choice%20questions.html
2. Top 100 C# Multiple-Choice Questions (MCQs) and Answers
(includehelp.com)
3. 300+ TOP C#.NET Objective Questions and Answers MCQs
2023 (engineeringinterviewquestions.com)