mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-05 17:48:52 -08:00
Add Scoreboard abstraction
This commit is contained in:
6
07_Basketball/csharp/Team.cs
Normal file
6
07_Basketball/csharp/Team.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Basketball;
|
||||
|
||||
internal record Team(string Name)
|
||||
{
|
||||
public override string ToString() => Name;
|
||||
}
|
||||
Reference in New Issue
Block a user