object_equals2

September 14, 2025 ยท View on GitHub

Shows hows how to use xtd::object::equals static method.

Sources

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

object::equals("Tom", "Carol") => false
object::equals("Tom", "Tom") => true
object::equals("", "Tom") => false
object::equals("Carol", "") => false
object::equals("", "") => true