WebHosting

Showing posts with label F# hello world. Show all posts
Showing posts with label F# hello world. Show all posts

Wednesday, June 29, 2011

F# Hello world example

  1. On the File menu, point to New, and then click Project.

  2. If you cannot see Visual F# in the Templates Categories pane, click Other Languages, and then click Visual F#. The Templates pane in the center lists the F# templates.

  3. Look at the top of the Templates pane to make sure that .NET Framework 4 appears in the Target Framework box.

  4. Click F# Application in the list of templates.

  5. Type a name for your project in the Name field.

  6. Click OK.






printfn "Hello World to F# language "


// Declare a local value (inferred type is string)
let world = "world"

// Using '%s' format specifier to include string parameter
printfn "Hello %s!" world

Featured Posts

How to Enable and Configure Remote Desktop (RDP) on Ubuntu 24.04.4 LTS

Remote Desktop Protocol (RDP) support in Ubuntu has become considerably easier with the GNOME Remote Desktop stack included in modern Ubuntu...