title: Find all the words containing more than 10 letters in string from text file
body: <p>Down below I have written code that successfully checks if the text file I enter has the character    "A" in it. It returns yes or no based on the result. However, <strong>now I would like to list all the words bigger than 10 characters</strong>. Please note that I use <code>ReadAllText</code> when I read the string. Therefore the whole text file is within the same string. I'm looking for the way to think rather than oven-ready code. Thank you all!</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.IO;
  
  namespace TESTING
  {
      class Testing
      {
          static void Main(string[] args)
          {
              //ask user for the filename
              string userInput = fetchFileName("Enter the textfile you want to view: ");
  
              //test if the filename writes anything to console
              string fileContents = File.ReadAllText(userInput);
  
              string theFileContents = analyseFile(fileContents);
              //Console.WriteLine(theFileContents);
              Console.ReadLine();         
          }
  
         private static string analyseFile(string fileContents)
         {
              string str = fileContents;
              if (str.Contains("A"))                
              {
                 Console.WriteLine("YES");                   
              }
              else
              {
                  Console.WriteLine("NO");
              }
              return str;
         }
  
         private static string fetchFileName(string askFileName)
         {
              Console.WriteLine(askFileName);
              string userAnswer = Console.ReadLine();
              return userAnswer;
         }
      }
  }
  </code></pre>