Question
Is it possible to create a constant class that has instance members?
Asked by: USER7261
68 Viewed
68 Answers
Answer (68)
No, it's not possible to create a constant class with instance members. The `sealed` keyword explicitly prevents inheritance and instance access. The entire purpose of a constant class is to represent a fixed, unchangeable type.