F# Program to display "Hello, World!"

Problem

Write a program in F# to display “Hello, World!” on the screen.

F# Program to display “Hello, World!” in Console Window.

This is a simple F# program that displays “Hello, World!” on the console window.

// Program to display Hello,World! by Abundantcode.com

[<EntryPoint>]
let main argv = 
    printfn "Hello, World!"
    0 // return an integer exit code

Output

Hello, World!