What is the => token called?

后端 未结 5 1843
广开言路
广开言路 2020-12-06 17:47

The => token is part of the C# 3.0 lambda syntax. My efforts to find the name of this token have failed so far.

5条回答
  •  清歌不尽
    2020-12-06 17:57

    http://msdn.microsoft.com/en-us/library/bb397687.aspx

    Taken from the above: All lambda expressions use the lambda operator =>, which is read as "goes to".

提交回复
热议问题