Value type - char C# with Example



Value type - char C# with Example

// single character s 
char c = 's'; 
// character s: casted from integer value 
char c = (char)115; 
// unicode character: single character s 
char c = '\u0073'; 
// unicode character: smiley face 
char c = '\u263a'; 

0 Comment's

Comment Form

Submit Comment