title: C # to VB.NET - Using interface
body: <p>Hey, I wonder how all this is in VB.NET</p>
  
  <h2>In C#</h2>
  
  <pre><code>UserSettings vUsers = new UserSettings();
  UserSettings.IUserSettings vUserI = (UserSettings.IUserSettings)vUsers
  </code></pre>
  
  <hr>
  
  <p>I took a chance to try to write it in VB.NET, but is this right?</p>
  
  <h2>In VB.NET</h2>
  
  <pre><code>Dim vUsers As UserSettings = New UserSettings()
  Dim vUserI As UserSettings.IUserSettings = (UserSettings.IUserSettings)vUsers
  </code></pre>