log4net SDK Reference |

# Level Equality Operator

Returns a value indicating whether two specified Level objects have the same value.

[Visual Basic]
returnValue = Level.op_Equality(l, r)
[C#]
public static bool operator ==(
Level l,
Level r
);

#### Parameters

l
  A Level or a null reference (Nothing in Visual Basic).
r
  A Level or a null reference (Nothing in Visual Basic).

#### Return Value

`true` if the value of l is the same as the value of r; otherwise, `false`.

#### Remarks

Compares two levels.

#### See Also

Level Class | log4net.Core Namespace