Rathrola Prem Kumar
Can we inherit enum in C#?
By Rathrola Prem Kumar in C# on Jan 05 2018
  • Rathrola Prem Kumar
    Jan, 2018 5

    No, not possible. Enums cannot inherit from other enums. In fact all enums must actually inherit from System.Enum . C# allows syntax to change the underlying representation of the enum values which looks like inheritance, but in actuality they still inherit from System.enum

    • 0

Most Popular Job Functions