generic_ienumerable

September 14, 2025 ยท View on GitHub

Shows how to use xtd::collections::generic::ienumerable interface.

Sources

Build and run

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

xtdc run

Output

box [length=10, width=20, height=30]
box [length=20, width=5, height=10]
box [length=12, width=3, height=7]

box [length=10, width=20, height=30]
box [length=20, width=5, height=10]
box [length=12, width=3, height=7]

box [length=10, width=20, height=30]
box [length=20, width=5, height=10]
box [length=12, width=3, height=7]