2024-04-19 23:12:24 -05:00
# Equals(T, T) Method
Determines whether the specified properties are equal.
## Definition
2024-04-21 03:30:36 -05:00
**Namespace:** < a href = "N_CapyKit.md" > CapyKit< / a >
2024-09-04 19:31:43 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
2024-04-19 23:12:24 -05:00
**C#**
``` C#
public bool Equals(
T x,
T y
)
```
**F#**
``` F#
abstract Equals :
x : 'T *
y : 'T -> bool
override Equals :
x : 'T *
y : 'T -> bool
```
#### Parameters
2024-04-21 03:30:36 -05:00
< dl > < dt > < a href = "T_CapyKit_PropertyComparer_2.md" > T< / a > < / dt > < dd > The first object of type < em > T< / em > to compare.< / dd > < dt > < a href = "T_CapyKit_PropertyComparer_2.md" > T< / a > < / dt > < dd > The second object of type < em > T< / em > to compare.< / dd > < / dl >
2024-04-19 23:12:24 -05:00
#### Return Value
< a href = "https://learn.microsoft.com/dotnet/api/system.boolean" target = "_blank" rel = "noopener noreferrer" > Boolean< / a >
true if the specified objects are equal; otherwise, false.
#### Implements
< a href = "https://learn.microsoft.com/dotnet/api/system.collections.generic.iequalitycomparer-1.equals" target = "_blank" rel = "noopener noreferrer" > IEqualityComparer(T).Equals(T, T)< / a >
## See Also
#### Reference
2024-04-21 03:30:36 -05:00
< a href = "T_CapyKit_PropertyComparer_2.md" > PropertyComparer(T, U) Class< / a >
< a href = "Overload_CapyKit_PropertyComparer_2_Equals.md" > Equals Overload< / a >
< a href = "N_CapyKit.md" > CapyKit Namespace< / a >