Fixing C# and F# sample