- Powershell Core 6.2 Cookbook
- Jan Hendrik Peters
- 54字
- 2021-06-24 15:14:24
Read-only and constant variables
On occasion, you might want to use read-only or constant variables in your code. This recipe will show you how to create variables with specific options, such as read-only or constant, and why you would use those. You will also see some important automatic variables that are, incidentally, also constants.