fork(3) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public enum VendorType{
  6. Corporation = 'C',
  7. Estate = 'E',
  8. Individual = 'I',
  9. Partnership = 'P',
  10. FederalGovernment = 2,
  11. StateAgencyOrUniversity = 3,
  12. LocalGovernment = 4,
  13. OtherGovernment = 5
  14. }
  15.  
  16. public static void Main()
  17. {
  18. VendorType vendorType = (VendorType)'C';
  19. Console.WriteLine(vendorType);
  20. }
  21. }
Success #stdin #stdout 0.03s 36944KB
stdin
Standard input is empty
stdout
Corporation