RosettaCodeData/Task/String-append/Elena/string-append.elena

10 lines
148 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
import extensions'text;
2026-02-01 16:33:20 -08:00
public Program()
2023-07-01 11:58:00 -04:00
{
var s := StringWriter.load("Hello");
2024-03-06 22:25:12 -08:00
s.append(" World");
2023-07-01 11:58:00 -04:00
2026-02-01 16:33:20 -08:00
Console.writeLine(s).readChar()
2023-07-01 11:58:00 -04:00
}