title: VB.NET Public Property on a single line
body: <p>Is there any way I can put Public Properties on a single line in VB.NET like I can in C#? I get a bunch of errors every time I try to move everything to one line.</p>
  
  <p>C#:</p>
  
  <pre><code>public void Stub{ get { return _stub;} set { _stub = value; } }
  </code></pre>
  
  <p>VB.NET</p>
  
  <pre><code>Public Property Stub() As String
      Get
          Return _stub
      End Get
      Set(ByVal value As String)
          _stub = value
      End Set
  End Property
  </code></pre>
  
  <p>Thanks</p>
  
  <p>EDIT: I should have clarified, I'm using VB 9.0.</p>