3.8. Upgrade Path to C#
The syntax of PowerShell has been designed with a view to providing a fairly easy upgrade path to C# code. The delimiters for script blocks, for example, are paired curly braces, corresponding to the use of paired braces as delimiters in C#.
Scripting PowerShell is discussed in more detail in Chapter 10.
Get Professional Windows® PowerShell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.