public bool Equals(LabColor other) { if (other == null) { throw new ArgumentNullException("other"); } return(L.Equals(other.L) && a.Equals(other.a) && b.Equals(other.b)); }
public bool Equals(LabColor other) => L == other.L && a == other.a && b == other.b;
/// <inheritdoc cref="object" /> public bool Equals(LabColor other) => L.Equals(other.L) && a.Equals(other.a) && b.Equals(other.b);
public bool Equals(LabColor other) { if (other == null) throw new ArgumentNullException("other"); return L.Equals(other.L) && a.Equals(other.a) && b.Equals(other.b); }