Tuesday, January 6, 2009

F# - Functional Programming Languge

 

Who ever reading this Blog post may able to do SEE SHARP (C#) when you are seeing Sharp why don't you do  F#  ( Follow Sharp).

 

F# is a functional programming language for the .NET Framework.  F# can take Advantage of  all  .NET runtime, libraries including  WCF , WPF etc.

Download F# Compiler and VS.NET Application Development Resource at F# Compiler Download.

Today  I Installed  F# Compiler in my machine. the current CTP  F# version is 1.9.6.2

 

image

 

image 

F# Installation Completed Successfully. 

image

 

Here is the List of  Visual Studio Application Templates for F#.

image

My First F# Program

image

The above program just add numbers 1 to 200.

here is the C# Equivalent of  above program

public static int Add(int Number)

{

return Number +Number;

}

 

Output of  the above F# Program

image

Thanks

SreenivasaRagavan.

No comments: