I am writing this example based of my C# knowledge
- Text starting with // are comments
- The are no {} as indenting does the same thing.. neeter code love it
type following
// same as using
open System
// write to screen same as Console.Write("Hello world")
printfn "Hello world"
// waits for any key to be pressed
Console.ReadKey(true)
Hit F5 and you have nice console application
No comments:
Post a Comment