Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public enum EnumTipoBoleto
- {
- VazioErro=0,
- ConfigInicial = 1,
- Mensalidade = 2,
- Outros =3,
- DifMensal =4
- }
- var variavel = 2;
- var valorEnum = EnumTipoBoleto[variavel]; //Como faço?
- 'EnumTipoBoleto' is a type, which is not valid in the given context
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement