title: C# cannot find class - The type or namespace name 'GradeBook' could not be found (are you missing a using directive or an assembly reference?)
body: <p>im completley new with c# and cannot seem to find the issue here. I have two .cs files in the same project, have set start up project etc. But one of the classes from the first .cs file is not found by the .cs that is supposed to run the program</p>
  
  <p>File1:</p>
  
  <pre><code>using System;
  
  public class GradeBookTest
  {
      public static void Main(string[] args)
      {
          GradeBook myGradeBook = new GradeBook();
  
          Console.WriteLine("Initial course name is: '{0}'\n", myGradeBook.CourseName);
  
          Console.WriteLine("Please enter course name:");
          myGradeBook.CourseName = Console.ReadLine();
          Console.WriteLine();
  
          myGradeBook.DisplayMessage();
      }
  }
  </code></pre>
  
  <p>File2:</p>
  
  <pre><code>using System;
  
  public class GradeBook
  {
  private string courseName;
  
  public string CourseName
  {
      get
      {
          return courseName;
      }
      set
      {
          courseName = value;
      }
  }
  
  public void DisplayMessage()
  {
      Console.WriteLine("Welcome to the grade book for \n{0}!", CourseName);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And this is just an example from my book, but need to figure out why its not working. It is the class GradeBook that the error message appears from when im trying to create and object in "GradeBook myGradeBook = new GradeBook();</p>