- .NET Core 2.0 By Example
- Rishabh Verma Neha Shrivastava
- 87字
- 2021-06-24 18:30:58
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 *)