char.Parse

image_pdfimage_print
   
  

using System;
using System.Collections.Generic;
using System.Text;

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

   
     


This entry was posted in Data Types. Bookmark the permalink.