A
Argentino Douglas
a function, whose parameter is a ref to a collection of class I
private void func(List<I> i){
for(int n=0;n<MAXVALUE;++n){
for(int m=0;m<MAXVALUE;++m){
Dosomething();
}
i[n].value=5; [******]Eror: can't modify the value of
System.Collections.Generic.List<program.Form1.I>.this[int] because it
is not a variable[/******]
}
Thanks
private void func(List<I> i){
for(int n=0;n<MAXVALUE;++n){
for(int m=0;m<MAXVALUE;++m){
Dosomething();
}
i[n].value=5; [******]Eror: can't modify the value of
System.Collections.Generic.List<program.Form1.I>.this[int] because it
is not a variable[/******]
}
Thanks