public struct Test : IEquatable<Test>
public bool Equals(Test other)
public override bool Equals(object obj)
return obj is Test other && Equals(other);
public override int GetHashCode()
public static bool operator ==(Test a, Test b)
public static bool operator !=(Test a, Test b)
public static void Main()
Console.WriteLine(at == bt);
Console.WriteLine(ao == bo);
Console.WriteLine(at.Equals(bt));
Console.WriteLine(ao.Equals(bo));