Char.Parse(String value) : Char « System « C# / C Sharp by API






Char.Parse(String value)

   
using System;

class MainClass
{
    public static void Main(string[] args)
    {
    char myChar = char.Parse("w");
    Console.WriteLine("-> Value of myChar: {0}\n", myChar);
    }
}

   
    
    
  








Related examples in the same category

1.Char.IsControl
2.Char.IsDigit
3.Char.IsLetter
4.Char.IsLower
5.Char.IsPunctuation
6.Char.IsSeparator
7.Char.IsSymbol
8.Char.IsUpper
9.Char.IsWhiteSpace
10.Char.MaxValue
11.Char.MinValue
12.Char.ToUpper