Closed arakov closed 1 year ago
The following code demonstrates the multi assign:
public program()
{
var t := (1,"abc");
console.printLine("Item1=",t.Item1,", Item2=", t.Item2);
var a;
var b;
a,b := t;
console.printLine("a=",a,", b=", t.Item2);
}
The issue is done in 6.0.3 version
The language should support multi-value return, Tuple<T1,...> template should be used. Something like this