Fixed the use of deprecated List.Remove method in bananas

Some examples can not be built because they use deprecated and deleted method Remove of the List class. I replaced Remove with RemoveEach.