Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Main()
- {
- int correct = 0;
- int wrong = 0;
- for(int i=0;i<10000000;++i)
- {
- CategoryA categoryALawyer = CategoryA.Lawyer;
- if(categoryALawyer.ToString() != "Lawyer")
- ++wrong;
- else
- ++correct;
- }
- correct.Dump();
- wrong.Dump();
- }
- // Define other methods and classes here
- public enum CategoryA
- {
- Lawyer = 1,
- UpdateStatus = 1,
- Developer,
- Manager,
- Employee,
- Director,
- }
Add Comment
Please, Sign In to add comment