title: Why is the program running but debugging shows no count in the list?
body: <p>I am working on a console app in which I add members to a list through user input. The logic used is :</p>
  <pre><code>public class Projectlogic
      {
          public List&lt;Project&gt; Projects { get; set; } = new List&lt;Project&gt;();
           //Add a project to the list Projects.
          public void Add(Project project)
          {
              Projects.Add(project);
          }
  
          public List&lt;Project&gt; GetAllProjects()
          {
              return Projects;
          }
  
      }
  </code></pre>
  <p>The main program for adding a project to the list Projects is given below. When I debug the code, the count in Projects is shown as 0. What part of logic am I missing or using incorrectly?</p>
  <pre><code>//Adding parameters PID, Name, Sdate, Edate to a project.
  var newProject = new Project(PID, Name, Sdate, Edate);
  var business2 = new ProjectLogic(); //declared
  business2.Add(newProject);
  break;
  </code></pre>