>Can you declare a variable > >var dt = new DateTime(...) > >Where((e => e.EmpId == 648476 && e.ExpDate == dt)
That did not seem to work. Oddly enough, this did:
where e.EmpID == 648476 && e.ExpDate == new System.DateTime(7777, 12, 31)
even though I did not get an error when using Datetime() (without the System qualifier) when I attempted to create the variable. I'll have to play around with this some more.