Lesson 2. Creating your first F# program
Now that you’ve installed Visual Studio and have the F# tools installed in it, what can you do with it? By the end of this lesson, you’ll see how and where F# integrates with Visual Studio. This lesson covers the following:
- Creating an F# console application in Visual Studio
- Working with F# syntax
- Understanding F#’s “less is more” approach
2.1. F# project types
You can create projects in a solution, just as you’d do in C#, in exactly the same way. F# has support out of the box for several project templates, the most important of which are the following:
- Library—A Visual Studio project that compiles into a .NET assembly ending with .dll and can be referenced by other .NET projects and assemblies. You ...
Get Get Programming with F# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.