Describe the issue or suggestion
We should update the new file-based apps reference (https://github.com/dotnet/docs/blob/main/docs/core/sdk/file-based-apps.md) to include details of the support for piping C# directly to dotnet run - via standard in. The - argument on dotnet run indicates that it should read the code from stdin, e.g.:
PowerShell
'Console.WriteLine("hello from stdin!");' | dotnet run -
Bash
echo 'Console.WriteLine("hello from stdin!");' | dotnet run -
@meaghanlewis @BillWagner
Associated WorkItem - 540970