generic collections examples
February 5, 2026 ยท View on GitHub
This folder contains collections examples used by Reference Guide and more.
- generic_dictionary shows how to use xtd::collections::generic::dictionary class.
- generic_enumerable_generator shows how to use xtd::collections::generic::enumerable_generator genrator.
- generic_enumerable_generator2 shows how to use xtd::collections::generic::enumerable_generator genrator.
- generic_hash_set shows how to use xtd::collections::generic: generic_hash_set class.
- generic_hash_set2 shows how to use xtd::collections::generic: generic_hash_set class.
- generic_icollection shows how to use xtd::collections::generic::icollection interface.
- generic_ienumerable shows how to use xtd::collections::generic::ienumerable interface.
- generic_ienumerable2 shows how to use xtd::collections::generic::ienumerable interface.
- generic_ienumerable3 shows how to use xtd::collections::generic::ienumerable interface.
- generic_ienumerator shows how to use xtd::collections::generic::ienumerator interface.
- generic_ilist shows how to use xtd::collections::generic::ilist interface.
- generic_linked_list shows how to use xtd::collections::generic::generic_linked_list class.
- generic_linked_list_node shows how to use xtd::collections::generic::generic_linked_list_node class.
- generic_list shows how to use xtd::collections::generic::list class.
- generic_list2 shows how to use xtd::collections::generic::list class.
- generic_list3 shows how to use xtd::collections::generic::list class.
- generic_list4 shows how to use xtd::collections::generic::list class.
- generic_list_as_read_only shows how to use xtd::collections::generic::list class.
- generic_list_binary_search shows how to use xtd::collections::generic::list::binary_search method.
- generic_list_conversions_to_vector shows how to convert xtd::collections::generic::list to std::vector and std::vector to xtd::collections::generic::list.
- generic_list_convert_all shows how to use xtd::collections::generic::list::convert_all method.
- generic_list_exists shows how to use xtd::collections::generic::list::exists method.
- generic_list_for_each shows how to use xtd::collections::generic::list::for_each method.
- generic_list_iterator_vs_vector_iterator highlights the difference between xtd::collections::generic::list and std::vector when modifying a collection during iteration.
- generic_list_reverse shows how to use xtd::collections::generic::list::reverse method.
- generic_ordered_dictionary shows how to use xtd::collections::generic::ordered_dictionary clss.
- generic_queue shows how to use xtd::collections::generic::queue clss.
- generic_stack shows how to use xtd::collections::generic::stack clss.
- mix_generic_list_and_std_vector_api shows how to use xtd::collections::generic::list class.
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