log4net SDK Reference |

# Level.Equals Method

Compares levels.

[Visual Basic]
Overrides Public Function Equals( _
ByVal o As Object _
) As Boolean
[C#]
public override bool Equals(
object o
);

#### Parameters

o
  The object to compare against.

#### Return Value

`true` if the objects are equal.

#### Remarks

Compares the levels of Level instances, and defers to base class if the target object is not a Level instance.

#### See Also

Level Class | log4net.Core Namespace