Skip to content

M_CodeJam_ValueOneOf_2_Equals

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

ValueOneOf(T1, T2).Equals Method (ValueOneOf(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 bool Equals(
	ValueOneOf<T1, T2> other
)

VB

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

F#

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

Parameters

 

other
Type: CodeJam.ValueOneOf(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

ValueOneOf(T1, T2) Structure
Equals Overload
CodeJam Namespace

Clone this wiki locally