+ 1
how char accepts value??
4 odpowiedzi
+ 1
just equate it with one character surrounded by a single quote.
example:
char yourChar = '?';
Hope that helps!
+ 1
Just use it like a char :
char h = '5';
Console.WriteLine(h);
//Output 5 (like text)
0
24
0
it can take only 1 character , for example 1,2,5,×,_,',g,B,. and so on. It's just 1 character from your keyboard