Parsing strings to create data types : Data Type : Data Type C# Examples


C# Examples » Data Type » Data Type »

 

Parsing strings to create data types









    
using  System;

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



Output

-> Value of myChar: w


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Data Type