Shows hows how to use xtd::object::equals static method.
#include <xtd/console>
auto main() -> int {
string s1 = "Tom";
string s2 = "Carol";
s1 = "Tom";
s2 = "Tom";
s1 = "";
s2 = "Tom";
s1 = "Carol";
s2 = "";
s1 = "";
s2 = "";
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
virtual bool equals(const object &obj) const noexcept
Determines whether the specified object is equal to the current object.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8