title: Find the shortest string in an array of string
body: <p>I need to provide a solution to find the shortest string in an array of string. I was thinking that it should be compare the length of each string in order to return.</p>
  
  <p>This is where I was stuck</p>
  
  <pre><code>static void Main(string[] args)
  {
      //find the shortest string in an array of string
      string[] names = new string[3]{
          "Tom", "and", "jerry"
      };
  
      foreach(string name in names){
          Console.Write(name + ", ");
      }
  
      Console.ReadKey();
  }
  </code></pre>
  
  <p>Can anyone help me with the compare part and explain it</p>