我有一个在#2015 c#6中写的ac #project.有两行我正在收到错误:
public override bool Confirmed => true; public override bool Responded { get; }
我怎么解析它到c#5?谢谢
该行public override bool Confirmed => true是C#6的新语法糖,相当于:
public override bool Confirmed => true
public override bool Confirmed { get { return true; } }