Equals() public method

Determines if an object is equal to this keyword. Value semantics.
public Equals ( object obj ) : bool
obj object The object to compare to.
return bool
Beispiel #1
0
 public object valAt(object key, object notFound)
 {
     if (FormKeyword.Equals(key))
     {
         return(_form);
     }
     else if (TagKeyword.Equals(key))
     {
         return(_tag);
     }
     else
     {
         return(notFound);
     }
 }