using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication15
{
class Program
{
static void Main(string[] args)
{
string hexavalues = "47 6F 6F 64 20 4D 6F 72 6E 69 6E 67 21";
string[] strsplit = hexavalues.Split(' ');
foreach (String hexa in strsplit)
{
int values = Convert.ToInt32(hexa, 16);
string strvalue = Char.ConvertFromUtf32(values);
char character = (char)values;
Console.WriteLine("hexadecimal value = {0}, int value = {1}, char value = {2} or {3}",
hexa, values, strvalue, character);
}
Console.ReadLine();
}
}
}