What is the output of the following code?
using System; struct MyStructure { public int i; public MyStructure(int i) { this.i = i; } } class Program { static void Main(string[] args) { MyStructure myS3; myS3.i = 100; Console.WriteLine(" myS3.i={0}", myS3.i); } }
100
You can create a structure without using new.