hi guys, i got a question (c# classes asp.net)?

rystest

New member
i want to create a class called team. and a class called player
then i want to be able to add players to a team like this:
Team team1 = new Team();
Player player1 = new Player();
team1.Addplayer(player1);
How do proceed with that? im kinda new to c# classes so i dont know best way to construct them.
Any help will be highly appreciated!
kind regards,
Mark
 
Back
Top