I was looking how to call function/ class method and found this.
@eythort answered about functions, here is for method, where you need to define type.
If I understand question, issue is how to call
$a,$b = $C.test()
or
$a,$b = [C]::test()
I wrote this as
class C {
static [System.Array] test () {
return @('a','c'),'b'
}
}
$a will be an array, and $b the letter 'b'
> $a
a
c
> $b
b