CSharp · Console
using System; public struct Foo { public int I { get;set; } } public class Program { public static void Main(string[] args) { // This is not an error. var foo = new Foo(); Console.WriteLine(foo.I); } }
Full Site Version