Snippet: true-false operator overloading

property value
IDE Visual Studio
Language C#
Title true-false operator overloading
Shortcut oo
Description true-false operator overloading
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
operand Operand value yes
thisName Containing type name ThisName no ClassName()

Code

public static bool operator true(ThisName value) {
	
}

public static bool operator false(ThisName value) {
}