using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace League
{
public partial class Form1 : Form
{
List<TheTeam> AllTeams = new List<TheTeam>( );
//Teams.Add(new Team(50, "TestTeam"));
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
// a simple class to store in the List
public class TheTeam
{
private int points;
private string name;
public TheTeam(int points, string name)
{
this.points = points;
this.name = name;
}
}
}