-
-
Save irwins/2db8f0978fc00560d3c8 to your computer and use it in GitHub Desktop.
PizzaSize Enumeration
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
Enum PizzaSize { | |
Small = 10 | |
Medium | |
Regular | |
Large = 3 | |
ExtraLarge = 4 | |
} | |
function Get-PizzaSize{ | |
param( | |
[PizzaSize] | |
$PizzaSize | |
) | |
"You chose $PizzaSize" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment