❔ Foreach
in c++ i can do :
From what i know, in C# this doesn t allow me to remove, move, modify objects.
How can i do something like this
From what i know, in C# this doesn t allow me to remove, move, modify objects.
How can i do something like this
for(auto& obj : objects) without having to use indices?