/* * C# Programmers Pocket Consultant * Author: Gregory S. MacBeth * Email: gmacbeth@comporium.net * Create Date: June 27, 2003 * Last Modified Date: * Version: 1 */ using System; namespace Client.Chapter_1___Common_Type_System { public class UsingCharChapter_1___Common_Type_System { static void Main(string[] args) { char MyChar = 'A'; MyChar = (char)65; char[] MyChar2 = { 'H', 'e', 'l', 'l', 'o', '\0' }; char[] MyChar3 = new char[5]; MyChar3[0] = 'H'; MyChar3[1] = 'e'; MyChar3[2] = 'l'; MyChar3[3] = 'l'; MyChar3[4] = 'o'; MyChar3[5] = '\0'; } } }