record structs

CSharp · Console

/Program.cs

using System;
					
Console.WriteLine(new V().j);  // ?
Console.WriteLine(new V1().j); // ?

struct V
{
    public V() { }
    public V(int _) {}

    public int j = 8;
}

struct V1
{
    public V1(int _) { }

    public int j = 8;
}
;