Question: What is the difference between a.Equals(b) and a == b?

  1. The .Equals method compares reference identities while the == compares contents.
  2. The .Equals method compares primitive values while == compares all values.
  3. The .Equals method compares contents while == compares references reference identity.
  4. The .Equals method compares reference type while == compares primitive value types.

Answer: The correct answer of the above question is Option C:The .Equals method compares contents while == compares references reference identity.