All the code you write in F Sharp is, by default, in a MODULE, regardless of whether you explicitly define a module or not. Anonymous Module Anonymous modules have the same name as the file name with the first letter in upper case. Let us say,
Creating a Module A Module name can explicitly be given by using the keyword "Module."
Now if you want to access the variable myNumber in some other module then you can access it like below: Creating Nested Modules You can create nested modules by using an equal to (=) sign with the module name. In the above code, we have defined nested modules. You can access the myNumber1 variable like below: In another module, you will find inellisense also working: This was all about Modules in F sharp. I hope this post was useful. Thanks for reading List of articles of F Sharp beginner series If you find my posts useful you may like to follow me on twitter http://twitter.com/debug_mode or may like Facebook page of my blog http://www.facebook.com/DebugMode. Net If you want to see post on a particular topic please do write on FB page or tweet me about that, I would love to help you. [twitter-follow screen_name='debug_mode' show_count='yes']
F Sharp for Beginners: Modules in F#
Executing DML Commands in F#