title: VB.NET: Use Class Name as Expression
body: <p>I'm not sure if this is possible but I would like to associate a class name reference to a shared member method / property / variable. Consider:</p>
  
  <pre><code>Public Class UserParameters
  
      Public Shared Reference As Object
  
      Public Shared Function GetReference() As Object
          Return Reference
      End Function
  
  End Class
  </code></pre>
  
  <p>In another part of the program I would like to simply call UserParameters and have it return Reference either by aliasing GetReference or the variable directly.</p>
  
  <p>I am trying to emulate the Application, Request, or Session variable:
  Session(0) = Session.Item(0)</p>
  
  <p>Any suggestions would be greatly appreciated.</p>