Output char array : Char array : Data Type C# Examples


C# Examples » Data Type » Char array »

 

Output char array









    
using  System;

class  MainClass
{
    static  void  Main(string[]  args)
    {
        char[]  MyChar  =  {  'H',  'e',  'l',  'l',  'o',  '\0'  };

                Console.WriteLine(MyChar);
    }
}
    
   
  
   



Output

Hello


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Char array