Beginner
C#
Q28 / 100
What is a static class in C#?
Correct! Well done.
Incorrect.
The correct answer is B) A class that cannot be instantiated and contains only static members
B
Correct Answer
A class that cannot be instantiated and contains only static members
Explanation
static class MathHelper { public static int Square(int x) => x * x; } cannot be instantiated. Used for utility/helper classes.
Progress
28/100