Skip to content

M_CommandLine_Text_Example_Equals_1

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

Example.Equals Method (Object)

Determines whether the specified Object is equal to the current Object.

Namespace: CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public override bool Equals(
	Object obj
)

VB

Public Overrides Function Equals ( 
	obj As Object
) As Boolean

C++

public:
virtual bool Equals(
	Object^ obj
) override

F#

abstract Equals : 
        obj : Object -> bool 
override Equals : 
        obj : Object -> bool 

Parameters

 

obj
Type: System.Object
The Object to compare with the current Object.

Return Value

Type: Boolean

Field Value

Type: Boolean
true if the specified Object is equal to the current Object; otherwise,

Field Value

Type: Boolean
false.

See Also

Reference

Example Class
Equals Overload
CommandLine.Text Namespace

Clone this wiki locally