Shekhar Kumar
What is the difference between == operator and equals method?
By Shekhar Kumar in C# on Nov 27 2019
  • Anshuman Singh
    Jul, 2020 23

    == checks both contents or values stored & references are equal or not

    while equals method checks only contents or values are equal or not

    • 0
  • Swapnil
    Jul, 2020 4

    1. == operator is complie time operator & equals method is run time.
    2. we can use equal methods in customize based comparision in class.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS