Comments

In the F# language, we have two types of comments for a single line and for multiple lines. This is the same as C#. The following are the two types of comments:

  • A single-line comment which starts with the // symbol.

               Example: // returns an integer exit code

  • A multi-line comment which starts with (* and ends with *).

               Example:  (*Learn more about F# at http://fsharp.org *)