Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone know what is wrong with this statement
Message
De
25/01/2013 10:02:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Titre:
Anyone know what is wrong with this statement
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Divers
Thread ID:
01564050
Message ID:
01564050
Vues:
69
Hi All.

Does anyone see something obviously wrong with this statement?
lstCurrentTransferees = (List<CommonInternal>)lstTransferees.Where(x => x.EECreationDate >= dateRanges[i].Start && x.EECreationDate <= dateRanges[i].End).ToList();
When I try to debug it, I get no error - the debugger just goes off into la-la land and never comes back.

lstTransferees has many list items and dateRanges[i].Start = {11/1/2012 12:00:00 AM} and dateRanges[i].End = {1/25/2013 12:00:00 AM} and an example of EECreationDate looks like this: {6/24/2010 9:33:36 AM}
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform