CSharp examples for Language Basics:string
C#'s char type (aliasing the System.Char type) represents a Unicode character and occupies 2 bytes.
A char literal is specified inside single quotes:
using System;/*www.ja v a2s .c om*/ class Test { static void Main(){ char c = 'A'; // Simple character Console.WriteLine (c); } }