Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equality Operator
Collapse the table of content
Expand the table of content

Type.Equality Operator

.NET Framework 4.6 and 4.5

Indicates whether two Type objects are equal.

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

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

Parameters

left
Type: System.Type

The first object to compare.

right
Type: System.Type

The second object to compare.

Return Value

Type: System.Boolean
true if left is equal to right; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft