a=b is used for assigning the values (rather then comparison) and a==b is for comparison.
a == b is used to compare the references of two objects
a.Equals(b) is used to compare two objects
a equals b -> copies contents of b to a
a == b -> checks if a is equal to b