Tokens of C#

Notes:

Tokens of C# Programming Language:

Tokens of C# Language: C KICS OS
(“Smallest Unit” of any programming language is generally called as a Token (word))

C – Comments.
K – Keywords and Data Types
I – Identifiers
C – Constants and Variables
S – Strings and Characters
O – Operators : LARA BICS
- L – Logical (&&, || , !)
- A – Arithmetic (+, - , *, /, %)
- R – Relational (<, >, <=, >=, ==, ! =)
- A – Assignment (=)
- o Short Hand Assignment : (+=, -=, *=, /=, %=, => etc)
- B – Bitwise (&, |, ~, ^)
- o Bitwise Shift ( <<, >>)
- I – Increment and Decrement (++, -- )
- C – Conditional ( ?: )
- S – Special ( sizeof , typeof, new, &, *, is, as, (type) etc.)
- Precedence and associativity of operators – P UMASRE BLCA
S – Separators. ([] (Square Brackets), ; (Semicolon), . (Dot), , (comma), {} (Block separator) etc.)