Skip to content

M_CodeJam_OneOf_2_Equals

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

OneOf(T1, T2).Equals Method (OneOf(T1, T2))

Indicates whether the current object is equal to another object of the same type.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public abstract bool Equals(
	OneOf<T1, T2> other
)

VB

Public MustOverride Function Equals ( 
	other As OneOf(Of T1, T2)
) As Boolean

F#

abstract Equals : 
        other : OneOf<'T1, 'T2> -> bool 

Parameters

 

other
Type: CodeJam.OneOf(T1, T2)
An object to compare with this object.

Return Value

Type: Boolean
true (True in Visual Basic) if the current object is equal to the other parameter; otherwise, false (False in Visual Basic).

Implements

IEquatable(T).Equals(T)

See Also

Reference

OneOf(T1, T2) Class
Equals Overload
CodeJam Namespace

Clone this wiki locally