Why => is called token?

LAN SHUHAO 0 Reputation points
2024-04-24T23:59:48.6466667+00:00
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,277 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,686 Reputation points
    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