One line if in VB .NET
It's actually pretty simple..
If CONDITION Then ..INSERT CODE HERE..
Use IF().
It is a short-circuiting ternary operator.
Dim Result = IF(expression,<true return>,<false return>)
SEE ALSO:
IIF becomes If, and a true ternary operator
The Ternary Operator in VB.NET