Convert string examples

April 21, 2026 ยท View on GitHub

This folder contains convert examples used by Reference Guide and more.

  • as_string shows how to use xtd::as operator.
  • convert_string shows how to use xtd::as converters.
  • string_to_string shows how to use xtd::basic_string::to_string methods.

Build and run any project

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

xtdc run -t any_project_name