log4net SDK Reference |

# Level Inequality Operator

Returns a value indicating whether two specified Level objects have different values.

[Visual Basic]
returnValue = Level.op_Inequality(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 different from the value of r; otherwise, `false`.

#### Remarks

Compares two levels.

#### See Also

Level Class | log4net.Core Namespace