[]
Compares two objects using Equals() methods, returns true if both objects are null. Null and System.DBNull interpretted as same values.
public static bool AreObjectsEqual(object v1, object v2)
Type | Name | Description |
---|---|---|
object | v1 | First object. |
object | v2 | Second object. |
Type | Description |
---|---|
bool | Returns true if objects are equal, false otherwise. |