Skip to content

Instantly share code, notes, and snippets.

@verborghs
Created October 30, 2019 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verborghs/aec62c28af7d2cd267bbb6d50aa1344b to your computer and use it in GitHub Desktop.
Save verborghs/aec62c28af7d2cd267bbb6d50aa1344b to your computer and use it in GitHub Desktop.
namespace VendingMachines
{
public class Product
{
public Product(string name, int coins, int available)
{
Name = name;
Coins = coins;
Available = available;
}
public string Name { get; }
public int Coins { get; }
public int Available { get;set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment