olsu
List<> modification
I want ot modify all elements in a List<>, but im having trouble. This is my code. Which gives an error saying I cannot modify
vertex
because it is a 'foreach iteration variable'
I come from c++, so I can guess that the problem is that var vertex
is copied and not actually what i want to modify. Is there a way to get the actual instance of the vertex in c#?73 replies