Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SoloLearn
- {
- class Program
- {
- struct State {
- public string name;
- public string color;
- public int voters;
- public bool Abortion;
- public bool Guns;
- }
- static void Main(string[] args)
- {
- State s1;
- s1.name = "Maryland";
- s1.voters = 45969;
- s1.color = "Blue";
- S1.Abortion = true;
- S1.Guns = false;
- Console.WriteLine(s1.name + s1.voters + s1.color);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement