Equality Operator (MisspelledWord)
Compares two MisspelledWords for equality.
Parameters
- word1
- The left side.
- word2
- The right side.
Return Value
True
if they're equal, false
if they're not equal.
MisspelledWord word1 = new MisspelledWord();
MisspelledWord word2 = new MisspelledWord();
if(word1 == word2)
{
return true;
}