The following issue is as follows:
The variables are defined as:
The result is a nullable<DateTime> but intellisense does not recognize this.
The first image is the compiler error and my first attempt:
The following is what is displayed in Intellisense:
The following is the correct syntax:
The pictures seem to lose quality when pasting them in Live Writer. I’ll have to re-blog in text one day.