"DateTime?" Correct Syntax or Compiler Bug

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Why does this property "DateTime?" compile?

public DateTime? test
{
get
{
return DateTime.Now;
}

}

I figured it was special syntax but I couldn't find documentation

TIA,
 
Cool! Thanks for the help and the lesson. I'm reading up on the other new
aspects as well.
 
Back
Top