RosettaCodeData/Task/Array-concatenation/Elena/array-concatenation.elena

12 lines
238 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
import extensions;
2026-02-01 16:33:20 -08:00
public Program()
2023-07-01 11:58:00 -04:00
{
2026-02-01 16:33:20 -08:00
auto a := new int[]{1,2,3};
auto b := new int[]{4,5};
2023-07-01 11:58:00 -04:00
2025-08-11 18:05:26 -07:00
Console.printLine(
2023-07-01 11:58:00 -04:00
"(",a.asEnumerable(),") + (",b.asEnumerable(),
") = (",(a + b).asEnumerable(),")").readChar();
}