Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ArraySegment<T>::Inequality Operator (ArraySegment<T>, ArraySegment<T>)

 
equivalentCodeEntityM:System.ArraySegment`1.Equals(System.ArraySegment{`0})

Indicates whether two ArraySegment<T> structures are unequal.

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

public:
static bool operator !=(
	ArraySegment<T> a,
	ArraySegment<T> b
)

Parameters

a
Type: System::ArraySegment<T>

The structure on the left side of the inequality operator.

b
Type: System::ArraySegment<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<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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft