var list = arrayList.OfType().ToList();
it will not cause cast exception so it more secure than Cast or ToArraty