Jeffery Snover, architect of PowerShell, presented a PowerShell script with embedded C# code to invoke a Win32API.
Here is a first attempt at embedding F# in PowerShell. The key difference is the the F# code is written to disk, compiled and the resulting DLL is then loaded into memory. The embedded C# approach uses the System.CodeDom to compile and generate the executable in memory.
The F# code, lines 6 through 13, are in a PowerShell here-string (5 and 14). The program is saved to disk (16), the F# compiler invoked (18), the compiled DLL is loaded (22) finally the get method is invoked (24).
The F# get method is generated as static. Calling static members requires the fully qualified namespace, class name, two colons and the member name. [Strangelights.Fibonacci]::get()
If you want to find the static methods/properties of a class, use the Get-Member cmdlet with the switch -Static on the already loaded DLL.
F# compiles to a .Net assembly, so any .Net language can interoperate with it. Conversely, F# can use assemblies generated by other .Net languages.