The Character Set of C#
Notes:
The Character Set of C# Programming Language:
- First step in learning any language is; knowing its character set.
How do we have learnt English language?
Character set of English language: contains
Alphabets: A - Z & a – z
Digits: 0,1,2,3,4,5,6,7,8,9
Special Characters: , , ., ;, :, ~,!,@,#,$,%,^,&,*,(,),-,_,+,= etc.
Character set: Set of characters used in the language for forming words, sentences, paragraphs etc.
As C# is also a language, it also has set of characters used in forming tokens, instructions, programs etc.
Character set of C# language: contains
Alphabets: A - Z & a – z
Digits: 0,1,2,3,4,5,6,7,8,9
Special Characters:, , ., ;, : ~,!,@,#,$,%,^,&,*,(,),-,_,+,= etc.
Escape sequence characters: \n, \t ,\v,\a,\b,\\,\”,\’ etc.
Note: All C# programming language characters are defined using Unicode character set. Unicode character set is a 16bit character encoding system ( i.e. UTF-16). UTF stands for Unicode Transformation Format.