title: CS0426 type name does not exist when calling Create function
body: <p>This is what I have in my library</p>
  <pre><code>public class ClassA
      {
          public int Value { get; set; }
      }
  
      public static class FactoryClass
      {
  
          public static ClassA CreateClassA(int value)
          {
              return new ClassA() { Value = value };
          }
      }
  </code></pre>
  <p>and this is in my program</p>
  <pre><code>ClassA a = new FactoryClass.CreateClassA(5);
  </code></pre>
  <p>Visual Studios is giving me a CS0426 error, but under the class library it's counting the reference, can anyone explain what it is that's going on?</p>