Placeholders (vertical calculation)

the using the System;
 namespace Program 
{ 
    class Program1 
    { 
        static  void the Main ( String [] args) 
        { 
            int A = 100 ;
             int B = 100 ; 
            Console.WriteLine ( " below using the vertical calculation result " ); 
            Console.WriteLine ( " {0 ,. 6} \ n-l, 5} + {\ n-------- \ n-= {2,5} " , A, B, A + B); 
        } 
    } 
}

 

 

 

Guess you like

Origin www.cnblogs.com/BruceKing/p/11798974.html