Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ConsoleApp2
- {
- class Program
- {
- static void Main(string[] args)
- {
- var a = (Foo)2;
- }
- }
- enum Foo
- {
- A = -1,
- B = 0,
- C = 1
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement