public justify ( string lines, int columnWidth ) : string[] | ||
lines | string | |
columnWidth | int | |
return | string[] |
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(); }
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(); }