Keywords examples
July 6, 2026 ยท View on GitHub
This folder contains keywords examples used by Reference Guide and more.
- block_scope shows how to use block_scope_ method.
- call_once shows how to use call_once_ keyword.
- call_once2 shows how to use call_once struct.
- interface shows how to use interface_ method.
- interface2 shows how to use xtd::interface method.
- lock shows how to use lock_ method.
- lock_guard_keyword shows how to use lock_guard_ method.
- nameof shows how to use nameof_ keyword.
- self shows how to use self_ keyword.
- sizeof shows how to use sizeof_ keyword.
- startup_keyword shows how to use startup_ method.
- static shows how to use static_ keyword.
- static_object shows how to use static_object_ keyword.
- typeof shows how to use typeof_ keyword.
- unused shows how to use __ keyword.
- unused shows how to use unused_ keyword.
- using shows how to use using_ method.
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