I was in AP computers today and we learned about the foreach loop. When I saw it I instantly thought it was the enhanced for loop. They seem to have the same syntax. What's the difference?
1/16/2019 8:15:02 AM
With foreach you don't need to access the elements of an array with its index
Learn Playing. Play Learning
Send us a message