New course! Every coder should learn Generative AI!
Try a free lesson0
Can foreach only be used for array?
3 Answers
+ 1
@Fabrizio Tarizzo You can use it for records as well
+ 1
No, it can be used for other tasks also
0
No, it can also be used for collections