why is the return keyword not required in expression bodied methods

后端 未结 0 2025
借酒劲吻你
借酒劲吻你 2021-02-12 05:05

Looking at expression bodied methods, I am trying to understand why the return keyword is not used.

For example with

public int GetAge() { ret         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题