codeGK
Code it ALL
C# Char - CodeGK
♦ C# Char

♣ About C# Char

Char is used to store character(key values, typically from keyword).
C# provides 2 bytes to the variable assigned for Char Variable.
Char data type covers all keyboard character.

♣ Example1: Char in C#

In this example, char data type is illustrated.
Example
Input:
Output:

♣ Example2: Finding ascii value of Char in C#

In this example, ascii value of character is illustrated.
Example
Input:
Output:
Prev_LessonNext_Lesson
C# Char