Created
May 22, 2018 16:09
-
-
Save shaneis/6b678a0bcbb7d29e3ac33b763f4ef0ff to your computer and use it in GitHub Desktop.
int vs string
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
[int]$number = 5 | |
[PSCustomObject]@{ Id = 1; Num = $number } | |
[string]$number2 = 5 | |
[PSCustomObject]@{ Id = 1; Num = $number } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment