title: Homework- Sort of :/ Double - string prolem
body: <p>I got this homework assignment, cant figure it out.
  I need to ask the user how many town names he wants to enter. For example 5.
  Then, he enters the 5 town names.
  Afterwards, we need to find the average length of the names and show him the names which have less letters than the average length. Thanks for your shared time :)
  My code so far:</p>
  
  <pre><code>static void Main(string[] args)
  {
  
      int n;
      Console.WriteLine("How many town names would you like to enter:");
      n = int.Parse(Console.ReadLine());
      string[] TownNames = new string[n];
      Console.Clear();
      Console.WriteLine("Enter {0} town names:", n);
      for (int i = 0; i &lt; n; i++)
      {
          Console.Write("Enter number {0}: ", i + 1);
          TownNames[i] = Convert.ToString(Console.ReadLine());
      }
  
      Console.ReadKey(true);
  }
  
  static void Average(double[] TownNames, int n)
  {
  
  }
  </code></pre>