Working with other languages
Polyglot Notebooks wouldn’t be appropriately named if all it could do was C#, so let’s take a look at support for an additional language: F#.
For those who haven’t used it before, F# is a functional programming language built on top of .NET. Like C# or VB, you have access to all of the base class library aspects of .NET and anything that compiles down to code executed by the common language runtime (CLR). This means that F# code can work with generic collections, LINQ, SQL databases, and any other aspect of .NET you’re used to as a C# developer.
Since F# code is executed by the CLR just like C#’s code is, this means that F# projects can rely on assemblies compiled in C# and C# can rely on assemblies compiled in F#.
Don’t know F#? Don’t panic!
I don’t assume that you’ve programmed in (or even seen) F# before in order to read this book and I’m choosing examples likely to help...