The requested page is not available for the requested platform. You are viewing the content for Default platform.

Use Equality Operator

Converts the Equals method call to an expression with the equality operator.


From the context menus or via shortcuts:

  • when an expression with the Equals method call is selected.


bool c = a.Equals(b);
bool c = a.Equals(b);


bool c = a == b;
Dim c As Boolean = a = b