title: How do I convert an Integer? to an Integer in VB.NET?
body: <p>I'm a C# programmer but am converting some code from C# to VB.NET. In c# I can simply use <code>(int)blah.getValue()</code> where <code>getValue()</code> returns an <code>Integer?</code></p>
  
  <p>Doing a <code>DirectCast()</code> in VB.NET doesn't work though, saying <code>Integer?</code> cannot be converted to <code>Integer</code>.</p>
  
  <p>Ideas?</p>