Visual Studio 2008 introduced a way to specify that you want a nullable instance of a structure with the following:
VB Code:
  1. Option Strict On
  2. Option Explicit On
  3. Public Class Form1
  4.     Private Enum myEnum
  5.         Item1
  6.         Item2
  7.         Item3
  8.     End Enum
  9.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  10.         Dim someValue As myEnum?
  11.         MessageBox.Show(someValue.ToString)
  12.     End Sub
  13. End Class
This is valid regardless of whether you are compiling to 2.0, 3.0 or 3.5. My issue is, the project I am working on is made in visual studio 2005. At this time, we are unable to use visual studio 2008 for development; so I would like to know how this is done in 2.0? I assume it's possible considering I can compile to 2.0 in VS2008 using this syntax.

Thanks.