我们说我们有以下enum
:
public enum Status
{
New = 1,
Acknowledged = 2,
Approved = 3,
Rejected = 4,
Closed = 5
}
Intellisense会将它们显示为:
Acknowledged
Approved
Closed
New
Rejected
虽然知道有用,但将它们放在原来的数字中会更有用#34;顺序。
是否有可能让Visual Studio的智能感知这样做?