Reputation: 5
I am creating a character array.Is there a unicode code for null? For example if I need to put a null in the character array?And also when I use the unicode table https://unicode-table.com/en/#myanmar which is the code I should use since there is HTML-code,Unicode number... I'm confused.
char[] specialSymb= new char[] { ' ', ',', '.','?','!'};
Upvotes: 0
Views: 154
Reputation: 513
According to Microsoft's documentation on Character literals (Which is what you are asking for) these are the following types of null encoding:
Escape sequence
\0
Unicode encoding
0x0000
EDIT:
For HTML Unicodes
%00
or
�
Source: https://msdn.microsoft.com/en-us/library/aa691087(v=vs.71).aspx
Upvotes: 1