How To Use Foreach For Array Of Pointers To Functions