All pastes #630924 Raw Edit

Something

public text v1 · immutable
#630924 ·published 2007-07-23 16:08 UTC
rendered paste body
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>( );

        //AllTeams.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;
        }
    }
}