C# syntax to initialize custom class/objects through constructor params in array? January 11, 2022 by admin Try adding square brackets after new MyClass and a semi-colon at the end