Может ли Enum содержать другие элементы Enum плюс свои собственные элементы?
public enum CardSuit
{
spades,
hearts,
diamonds,
clubs
}
public enum GameSuit
{
spades, // These are
hearts, // the same
diamonds, // " CardSuit "
clubs, // elements
suns // " GameSuit " special element
}
Можем ли мы включить CardSuit в GameSuit без повторного ввода одних и тех же элементов?