It is yet another .Net language ie. it emits IL and an excellent starting point for .Net professionals to explore functional programming.
F# supports Read Eval Print Loop (REPL) which makes it easy to learn a language.
F# is included in Visual Studio along with C#, VB .Net and Visual C++.
I am starting an F# application and creating a conventional Console Application.
open System
Console.WriteLine "Shalvin"
open in F# is equivalent to using statement in C#
For using REPL highlight the code segment and press Alt + Enter. You can see the output in the F# Interactive at the bottom of the IDE.
No comments:
Post a Comment