#
CounterSample.Inequality(CounterSample, CounterSample)
CounterSample.Inequality(CounterSample, CounterSample)
CounterSample.Inequality(CounterSample, CounterSample)
CounterSample.Inequality(CounterSample, CounterSample)
Operator

## Definition

Returns a value that indicates whether two CounterSample structures are not equal.

```
public:
static bool operator !=(System::Diagnostics::CounterSample obj1, System::Diagnostics::CounterSample obj2);
```

`public static bool operator != (System.Diagnostics.CounterSample obj1, System.Diagnostics.CounterSample obj2);`

`static member op_Inequality : System.Diagnostics.CounterSample * System.Diagnostics.CounterSample -> bool`

`Public Shared Operator != (obj1 As CounterSample, obj2 As CounterSample) As Boolean`

#### Parameters

A CounterSample structure.

Another CounterSample structure to be compared to the structure specified by the `a`

parameter.

#### Returns

## Remarks

Two CounterSample structures are not equal if any of their property values are different.

The equivalent method for this operator is CounterSample.Equals(CounterSample).