Why => is called token?

LAN SHUHAO 0 Reputation points
2024-04-24T23:59:48.6466667+00:00
Developer technologies .NET .NET Runtime
Developer technologies .NET Other
Developer technologies C#
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-04-25T01:22:18.4233333+00:00

    All operators, keywords, variable names and some special chars, are tokens. This is generic term for parsed languages symbols and terms. see the c# grammar (which will include all token definitions):

    https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/grammar

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.