Posts by SVL • 31 points
1 post
-
3
votes1
answer89
viewsQ: Might there be some error in the execution of foreach in this method?
The execution of the code below may occur some error? protected void ImprimeValores(Ilist<int> values) { if (values.Count > 0 && values != null) { foreach(int v in values)…