F# – converting a C# dictionary to a Map

Found a use­ful lit­tle snip­pet that con­verts a C# dic­tio­nary to F#’s map which uses the built-in Key­Val­ue active pat­tern: