using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace NumberedMusicScores
{
public enum KeySignatures
{
C,
G,
D,
A,
E,
B,
FCress,
CCress,
F,
Bb,
Eb,
Ab,
Db,
Gb,
Cb
}
}
I want FCress
and CCress
shown as F# and C# if I use it. How to achieve this?
I tried this : How to use ? character in an enum , but the Description
in [Description("F#")]
seems doesn't exist. (Underlined by red line, and it even doesn't shows anything to "Resolve" if I right-clicked it.
Update : Clarifications :
- It's not a duplicate. Since duplicate answer is not an
enum
, but a class which configured as anenum
. I wantenum
solution. - If it doesn't possible, then please answer "it's not possible", rather than marking it as duplicate.
- I already read them before I made this post.
Thank you.