This article is an introduction to F# (F-Sharp). Visual Studio 2010 Introduced the F# programming language. The F# programming language is used for functional and Object Oriented Programming.
Visual Studio 2010 Introduced the F# programming language. The F# programming language is used for functional and Object Oriented Programming.To create a F# program, open Visual Studio 2010 then select "File" -> "New" -> "Project..." then select Other Languages then select Visual F# and then select F# Application, which is a project for creating a command line F# application.Select the F# application type:Write your logic in the Program.fs file:For running the application "select Send To Interactive" or click Alt+Enter:View the output of the code above in the F# Interactive window:To view the result in the Console Application window, we need to use System.Console.WriteLine to display the result.Output in Console Command window:
Printing in C# Made Easy