Equality Operator
Collapse the table of content
Expand the table of content

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
)

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
Available since 4.0
Return to top
Show:
© 2016 Microsoft