Error when using extension methods in C#

后端 未结 16 2740
夕颜
夕颜 2020-12-13 01:31

I came across an issue that makes me think there is bug in the 3.0 framework. When I try to use extension methods I get the following error:

Missing compile         


        
16条回答
  •  -上瘾入骨i
    2020-12-13 02:19

    Your framework isn't high enough for Extension Methods.
    That's a hack for making extension methods work without being in 3.5

提交回复
热议问题