ArraySegment(Of T).Inequality Operator (ArraySegment(Of T), ArraySegment(Of T))


Indicates whether two ArraySegment(Of T) structures are unequal.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

Public Shared Operator <> (
	a As ArraySegment(Of T),
	b As ArraySegment(Of T)
) As Boolean


Type: System.ArraySegment(Of T)

The structure on the left side of the inequality operator.

Type: System.ArraySegment(Of T)

The structure on the right side of the inequality operator.

Return Value

Type: System.Boolean

true if a is not equal to b; otherwise, false.

Two ArraySegment(Of T) objects are considered to be unequal if they are of the same closed generic type but any of the following conditions is true:

  • They do not reference the same array.

  • They have different starting indexes.

  • They have a different number of elements.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top