Sunday, December 18, 2011

cast a property from a collection to another collection

string[] names = ProfileRepository.GetAll().Select(p => p.Name).ToArray();

No comments:

Post a Comment