LarsGast / DeckOfPlayingCards

Simple code to play with a standard deck of 52 cards
MIT License
0 stars 0 forks source link

Update the demo to no longer use top-level statements #10

Closed LarsGast closed 1 year ago

LarsGast commented 1 year ago

Is your feature request related to a problem? Please describe. While top-level statements make is easier to create simple programs, having the Program.cs file be in line with the rest of the code seems more intuitive.

Describe the solution you'd like Create a standard Program.cs class with a namespace and a Main() method in the syntax. The code should functionally stay the same.

Additional context Microsoft documentation on top-level statements