What is wrong with the following code?Â
struct Foo {
   public int id;
   public string value;
   public static readonly Foo Empty = new Foo(“”);   public Foo(string val)
   {
        this.value = val;
        this.id = -1;
    }};
and elsewhere…
Foo m = new Foo(“Something”);Â
if (object.ReferenceEquals(m, Foo.Empty))
{
   …//do something
} else
{
…
}
Â