Code snippet:
ShippingPeriod[] arrShippingPeriods;
.
.
.
List<ShippingPeriod> shippingPeriods = ShippingPeriodList.ToList<ShippingPeriod>();
The last line will not compile, and I get a message:
"'ShippingPeriod []' does not contain a definition for" ToList "and the best method for reloading." System.Linq.Enumerable.ToList (System.Collections.Generic.IEnumerable) "has some invalid arguments"
Kumar
source
share