Display arguments in non-sequential order : Console Output : Development C# Examples


C# Examples » Development » Console Output »

 

Display arguments in non-sequential order









    
using  System;      
      
class  MainClass  {      
    public  static  void  Main()  {      
          
        Console.WriteLine("{2:d}  {0:d}  {1:d}",  1,  2,  3);      
      
    }      
}
    
   
  
   



Output

3 1 2


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Development
» Console Output