Created
November 7, 2022 03:24
-
-
Save IntegerMan/639c0a8d35e354733885c3ae43aaaad2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (quantity <= 0) | |
{ | |
throw new Exception("Quantity must be a positive number"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment