Home > Net >  The static, not with
The static, not with

Time:09-18

Function "of" static local function in c # 7.3 is not available, please use the language version of 8.0 or higher,
Bosses excuse me, is this how to solve? Vs2019 c#.Net Framework is

CodePudding user response:

Moving the static void Run outside the main, and the main level

CodePudding user response:

Do you want to upgrade to core3.0 above just for you, is not static

CodePudding user response:

C # method can no longer be defined inside, also is cannot be nested, they are peers, write on the outside
  •  Tags:  
  • C #
  • Related