J
Jay
When doing a foreach statement like the following why is the variable
read-only?
foreach (e in theArray)
What if I have an array of objects and I need to create a new instance of
the object. If the e is read-only then I have to use a for statement to
accomplish this.
read-only?
foreach (e in theArray)
What if I have an array of objects and I need to create a new instance of
the object. If the e is read-only then I have to use a for statement to
accomplish this.