Thomson Reuters interview question

Aarray and list for and foreachloop propert and variable inversion of principle DI