Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public enum EnumTipoBoleto
  2. {
  3. VazioErro=0,
  4. ConfigInicial = 1,
  5. Mensalidade = 2,
  6. Outros =3,
  7. DifMensal =4
  8. }
  9.  
  10. var variavel = 2;
  11. var valorEnum = EnumTipoBoleto[variavel]; //Como faço?
  12.  
  13. 'EnumTipoBoleto' is a type, which is not valid in the given context
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement