Tag: F#

Different Types of For Loops in F#

F# supports 3 different types of For Loops . These include For…to – This is  astandard for loop For .. In – This is similar to For Each in C# for…downto Different Types of For Loops in F# Below is a code snippet demonstrating the different For Loops in F#

Match Statement in F#

Match Statement is similar to switch statement in C# . Below is a sample code snippet demonstrating the use of Match statement in F#. Match Statement in F#

FSharp Interactive Commands

FSharp Interactive UI includes few good number of commands which can be used by the F# Developers . Below are some of the FSI Commands which can be used by the developers. FSharp Interactive Commands Cancel Interactive Evaluation – This option cancels the execution of the FSI . Reset Interactive Session – This option resets the execution of the current FSI . Cut – This…