Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jasdev
Created July 30, 2012 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasdev/3210317 to your computer and use it in GitHub Desktop.
Save jasdev/3210317 to your computer and use it in GitHub Desktop.
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