xtd 0.2.0
concat.cpp

Shows how to use xtd::string::concat method.

#include <xtd/console>
#include <xtd/string>
using namespace xtd;
auto main() -> int {
console::write_line(string::concat("Hello", ", ", "World", "!"));
}
// This code produces the following output :
//
// Hello, World!
auto concat(const ienumerable< type_t > &second) const noexcept
Definition enumerable.hpp:185
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8