I am trying to compare two structs using equals (==) in C#. My struct is below:
public struct CisSettings : IEquatable { public int Ga
When you override the .Equals method, the == operator isn't automatically overloaded. You need to do that explicitly.
==
See also Guidelines for Overriding Equals() and Operator ==.