title: VB.NET: Assign value to variable inside an IF condition?
body: <p>is there any possibility to assign a value to a variable inside an IF condition in VB.NET?</p>
  
  <p>Something like that:</p>
  
  <pre><code>Dim customer As Customer = Nothing
  
  If IsNothing(customer = GetCustomer(id)) Then
      Return False
  End If
  </code></pre>
  
  <p>Thank you</p>