What would the folowing VB.NET enum definition look like in C#?
Public Enum SomeEnum As Integer
<Description("Name One")> NameOne = 1
End Enum
public enum SomeEnum : int
{
[Description("Name One")] NameOne = 1
}
public enum SomeEnum: int
{
[Description("Name One")]
NameOne = 1,
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With