Friday, September 10th, 2010
Cast

Cast an ArrayList to an IEnumerable object

The following examples generate an ArrayList containing Customer elements and cast the ArrayList to an IEnumerable object:ArrayList CustomersArray = new ArrayList(); foreach (var c in CustomerList) CustomersArray.Add(c);var ...

More Cast

eXTReMe Tracker