In some cases needs to throw an exception to notify the caller something bad was
What is the difference between a.Equals(b) and a == b?
For value types: “==” and Equals() works same way : Compare two objects by VALUE Example:
In some cases needs to throw an exception to notify the caller something bad was
For value types: “==” and Equals() works same way : Compare two objects by VALUE Example: