brandonshawfhl / Quiz-Maker

0 stars 0 forks source link

Empty lines / Code structuring #21

Closed mayisa87 closed 9 months ago

mayisa87 commented 9 months ago

Avoid more than one empty line in your code, always only one to separate code!

https://github.com/brandonshawfhl/Quiz-Maker/blob/31885e18b19366e38056536bfd044eaaadf721a3/ConsoleApp3/Logic.cs#L12-L13

No empty lines between XML comments and start of the method https://github.com/brandonshawfhl/Quiz-Maker/blob/31885e18b19366e38056536bfd044eaaadf721a3/ConsoleApp3/Logic.cs#L19-L20

Always an single empty line before starting a loop or if statement https://github.com/brandonshawfhl/Quiz-Maker/blob/31885e18b19366e38056536bfd044eaaadf721a3/ConsoleApp3/Logic.cs#L59