How does pattern matching work behind the scenes in F#?

前端 未结 4 552
栀梦
栀梦 2021-02-12 13:02

I am completely new to F# (and functional programming in general) but I see pattern matching used everywhere in sample code. I am wondering for example how pattern matching actu

4条回答
  •  渐次进展
    2021-02-12 13:37

    If you compile your F# code to an .exe then take a look with Reflector you can see what the C# "equivalent" of the F# code.

    I've used this method to look at F# examples quite a bit.

提交回复
热议问题