While Loop Example in F#

While Loop Example in F#

// AbundantCode F# Tutorials and Code snippets
open System
[<EntryPoint>]
let main argv =
    let mutable indexer = 10
    while indexer <=50 do
        Console.WriteLine(indexer)
        indexer <- indexer + 1
    let retval = Console.ReadLine()
    0 // return an integer exit code