title: The name 'File' does not exist in the current context
body: <p>I am a beginner in c# programming. I am gettting error <code>The name 'File' does not exist in the current context</code>. </p>
  
  <p>Problem must be in the line  <code>var v = File.ReadLines("dictionary.txt");</code> </p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace ConsoleApplication7
  {
      class Program
      {
          static void Main(string[] args)
          {
              if (args.Length &gt; 0)
              {
                  var v = File.ReadLines("dictionary.txt");
  </code></pre>