BEGINING F# Tutorial with visual studio 2010 beta 2

hi, all u who r interested to learn f# 1.0 (f# 2.0 is already available) welcome here. First u already know what is F# if not can read here.

Now about editor, from Microsoft site u can easily download necessary sdk for f#, but here i  am using visual studio 2010 as editor.

first open vs200 click file->new project-> visual f#-> f# application name it as u wish, then create the project.

From solution explorer u got program.fs  . Open it. fs used as extension for F-SHARP

write the below code

printfn "Hello World"

and then execute .

u will got a console output screen where hello word in screen.

but for the coder who did not want to use vs 10 for them ,write the code in text file name it “test” save with js extension and then write following command in dos

C:\test> fsc test.fs

C:\test> test.exe

Hello World


congratulation .u r now a f# coder, next we will do more complex code and learn fundamental of f#.


About kishordgupta

A software developer
This entry was posted in F SHARP and tagged , , , , . Bookmark the permalink.

One Response to BEGINING F# Tutorial with visual studio 2010 beta 2

  1. Pingback: create desktop from using F# (f# Tutorial 2 ) « Kishordgupta's Blog

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s