Write without new line : Console Output : Development C# Examples


C# Examples » Development » Console Output »

 

Write without new line





Write( ) is used to display the string without a new line.




    
class  MainClass  {
      static  void  Main()
      {
                  System.Console.Write("This  is  text  1.");
                  System.Console.Write("This  is  text  2.");
                  System.Console.Write("This  is  text  3.");
      }
}
    
   
  
   



Output

This is text 1.This is text 2.This is text 3.


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Console Output