avgLength() public method

public avgLength ( string lines ) : double
lines string
return double
Example #1
0
 static void Main(string[] args)
 {
     Hyphenated x = new Hyphenated();
     string[] a = { "  now is the ex-", "ample.  " };
     Console.WriteLine(x.avgLength(a));
     Console.ReadLine();
 }
Example #2
0
        static void Main(string[] args)
        {
            Hyphenated x = new Hyphenated();

            string[] a = { "  now is the ex-", "ample.  " };
            Console.WriteLine(x.avgLength(a));
            Console.ReadLine();
        }