Using extension methods defined in C# from F# code

前端 未结 2 864
闹比i
闹比i 2021-01-11 14:24

I have a series of extension methods defined for various classes in a C# library. I\'m currently writing some F# code and instead of rewriting that code I would simply like

2条回答
  •  失恋的感觉
    2021-01-11 14:40

    Being able to 'import' C#/VB extension methods will be supported in the next release of F#.

    See also

    F# extension methods in C#

    for more detail on the topic.

提交回复
热议问题