Windows apps
Collapse the table of content
Expand the table of content
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.

Type.Equality Operator (Type, Type)

.NET Framework (current version)

Indicates whether two Type objects are equal.

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

public static bool operator ==(
	Type left,
	Type right


Type: System.Type

The first object to compare.

Type: System.Type

The second object to compare.

Return Value

Type: System.Boolean

true if left is equal to right; otherwise, false.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft