I am new to c#, I am wondering why is it that if I use var type to create new Form instance I am able to access a public property, but cannot see the property if I use Form type?
var form = new Form1(); // I am able to access public property
Form form = new Form1(); // I cannot access public property
var form = new Form1(); // I am able to access public property
Form form = new Form1(); // I cannot access public property