using System.Collections.Immutable; namespace Game { /// /// Stores the player's assets. /// public record Assets { /// /// Gets the player's amount of cash. /// public double Cash { get; init; } /// /// Gets the number of stocks owned of each company. /// public ImmutableArray Portfolio { get; init; } } }