How to  create F# console app in Ubuntu

How to create F# console app in Ubuntu

·

1 min read

Create new folder and give following command:-

$ mkdir fsharpapplication

$ cd fsharpapplication

$ dotnet new console --language F#

consoleapp_f#_1.png

Run the app:-

$ dotnet run

consoleapp_f#_2.png