Snippet: == operator overloading

property value
IDE VS Code
Language C#
Title == operator overloading
Shortcut oo_EqualsEquals
Description == operator overloading

Placeholders

Identifier Tooltip Default Value
left Left operand left
right Right operand right
thisName Containing type name ThisName

Code

public static bool operator ==(ThisName left, ThisName right) {
	
}

public static bool operator !=(ThisName left, ThisName right) {
	return !(left == right);
}