Typescript Loop Through Array And Arraylist Example Code In C