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 ConsoleApplication53
- {
- class Program
- {
- struct team
- {
- public int teamId;
- public string teamname;
- public string manager;
- public string topgoalscorer;
- public string lastyearleagueposition;
- }
- static team[] footballteams = new team[20];
- static void Main(string[] args)
- {
- team ManUnited;
- ManUnited.teamId = 0;
- ManUnited.teamname = "Manchester United FC";
- ManUnited.manager = "Jose Mouriniho";
- ManUnited.topgoalscorer = "Sir Bobby Charlton";
- ManUnited.lastyearleagueposition = "5th in Premier League";
- team CreweAlex;
- CreweAlex.teamId = 1;
- CreweAlex.teamname = "Crewe Alexandra FC";
- CreweAlex.manager = "Steve Davis";
- CreweAlex.topgoalscorer = "Bert Swindels";
- CreweAlex.lastyearleagueposition = "24th League 1";
- team BVB;
- BVB.teamId = 2;
- BVB.teamname = "Borrussia Dortmund";
- BVB.manager = "Thomas Tuchel";
- BVB.topgoalscorer = "Michael Zorc";
- team Barcelona;
- Barcelona.teamId = 3;
- Barcelona.teamname = "FC Barcelona";
- Barcelona.manager = "Luis Enrique";
- Barcelona.topgoalscorer = "Lionel Messi";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement