So I have this:
class SimpleDateStructureDemo
{
  struct Date
  {
    public int year;
    public int month;
    public int day;
  }
  static void Main()
  {
    ...
  }
}
And then I see an example, saying that the object is allocated on the heap:
Date dateMoonWalk = new Date();
I thought that classes are ref type, and structs are value type. In the end, you CAN create a struct type object on the heap by just using new, right?
 
     
     
    