Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Same in Powershell except they use square brackets

[string] $foo = "foo"



In my brain the instantly translates to "list of strings". Not sure square brackets are such a good choice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: