Default constructor is defined for "Class" and for "Struct". But If I declare a class "Point" which has only 1 constructor, and that too a parametrized one, the compiler would not allow me to write
Point p = new Point()
However, If I have a struct "Point", which again has only 1 parametrized constructor, the compiler will allow me to write
Point p = new Point()
The question I am asking is why the compiler allowed struct to create an object and stopped the class to create an object?
Note: I am writing this code on C# 6