Home »
MCQs »
C# MCQs
Which keyword is used to define a class in C#?
71. Which keyword is used to define a class in C#?
- Class
- class
- System.Class
- OOPS.class
Answer: B) class
Explanation:
The class keyword is used to define a class in C#.
Syntax:
class class_name
{
// Class Definition
}