Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     WordWrap x = new WordWrap();
     string[] a = {"now is the time for all good men",
      "to come to the aid of their country"};
     Console.WriteLine(x.justify(a, 20));
     Console.ReadLine();
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            WordWrap x = new WordWrap();

            string[] a = { "now is the time for all good men",
                           "to come to the aid of their country" };
            Console.WriteLine(x.justify(a, 20));
            Console.ReadLine();
        }