C#C
C#4y ago
Catsillas

out ref local?

Seems I am able to do this:

ref int Test1(){
    return ref ints[1];
}


but not this:

void Test2(out ref int a){
    a = ref ints[1];
}


is there some syntax im missing or is this just not possible?
Was this page helpful?