So, C # ...
MyClass h = new MyClass(); // так конструктор вызывается MyClass []h = new MyClass[5]; // а так уже нет How to correctly declare an array of objects so that for each element a constructor is called in? In C ++, a similar construct works as expected, and the constructor is called.