Just a quick one. Is there a difference between these two approaches?
bool1 = myString.Equals(“text”)
vs
bool1 = myString = “text”
and
bool2 = myInt.Equals(1)
vs
bool2 = myInt = 1
As far as I can tell, .Equals does the same thing as the = sign, but I’m not sure if it’s actually doing something else (and just always gives the same result).