How to pass arguments to a dotnet script
When using dotnet script you can pass arguments by specifying them after — (two dashes). You can the access the arguments in the script using the Args collection. Let’s take an example. Assume we have the following myScript.csx script file: We can pass parameter to this script as follows: