avgLength() public méthode

public avgLength ( string lines ) : double
lines string
Résultat double
Exemple #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();
 }
Exemple #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();
        }