Javatpoint Logo
Javatpoint Logo

F# Code Formatting Guidelines

This topic summarizes code indentation guidelines in F#. F# language is sensitive to line breaks and indentation. It is not just a readability issue, coding standardization issue to format your code correctly. You must format your code correctly to compile correctly.


F# Code Formatting Example

Output:

loop starts
2
4
6
8
10
loop exits

When indentation is required, you must use spaces, not tabs. At least one space is required. You can create your own coding standards to specify the number of spaces to use for indentation.






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA