Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace SoloLearn
  8. {
  9. class Program
  10. {
  11. struct State {
  12. public string name;
  13. public string color;
  14. public int voters;
  15. public bool Abortion;
  16. public bool Guns;
  17. }
  18. static void Main(string[] args)
  19. {
  20. State s1;
  21. s1.name = "Maryland";
  22. s1.voters = 45969;
  23. s1.color = "Blue";
  24. S1.Abortion = true;
  25. S1.Guns = false;
  26.  
  27. Console.WriteLine(s1.name + s1.voters + s1.color);
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement