Skip to content

Commit

Permalink
oligopoly fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyPatten committed Jun 1, 2023
1 parent b1e887c commit afa4d26
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Projects/Oligopoly/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,22 @@ public static void Main()
// trimmed when compiling with the -p:PublishTrimmed=true option.
// The default constructor is required for JSON deserialization.

_ = new Company();
_ = new Event();
_ = new Company()
{
Name = nameof(Company.Name),
Industry = nameof(Company.Industry),
SharePrice = 42.42m,
NumberOfShares = 42,
Description = nameof(Company.Description)
};

_ = new Event()
{
Title = nameof(Event.Title),
Description = nameof(Event.Description),
CompanyName = nameof(Event.CompanyName),
Effect = 42
};

#endregion

Expand Down

0 comments on commit afa4d26

Please sign in to comment.