Nullable Types and Intellisense Bug/Problem

The following issue is as follows:

The variables are defined as:

DateTime? EndTime

DateTime StartTime

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s