Skip to content

Instantly share code, notes, and snippets.

@jasdev
Created Jul 30, 2012
Embed
What would you like to do?
C# at it's finest
foreach (DAO daoFile in daoFiles)
{
StoredProcedure correspondingPoc = (from x in sProcs
where x.file == daoFile.calledProc select x).FirstOrDefault();
if (correspondingPoc != null)
{
IEnumerable<Error> except = correspondingPoc.possibleErrors.Except(daoFile.errorsCaught, new ErrorComparer());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment