F# has a REPL (read–eval–print loop) F# Interactive, C:\\Program Files (x86)\\Microsoft F#\\v4.0\\Fsi.exe.
C:\\Program Files (x86)\\Microsoft F#\\v4.0\\Fsi.exe
I understand C# now has its own interactive REPL,
If you're using dotnet core then try dotnet-script.
run dotnet tool install --global dotnet-script to install. Then run dotnet-script to get a REPL style command prompt
dotnet tool install --global dotnet-script
dotnet-script
> Console.WriteLine("Hello world!"); Hello world!
Info found here