F# + C# = .net#

If you wondering about how to join two languages like F# and C# into the one consolidated solution, then I can show you how do that easily. Beginning from Visual Studio 2010, F# is native language for the Microsoft IDE. It means, from the start of work with VS you could easily use F# with … More F# + C# = .net#

First look at F#

F# first example: simple math library. Okay, let’s look at the example. We define statements to create new namespace MathModule (#1) and to import System namespace (#2). Then we define new type Number (#4). Number type has a simple object constructor which will be used to initialization of our immutable object (#5). Finally, the maths logic is … More First look at F#