Expand Ternary Expression
Converts a ternary expression into an if/else block.
Available from the context menus or via shortcuts:
- when the caret is on an expression containing a ternary operator ("? :" operator in C# and C++, IIf operator in Visual Basic).
b = 10;
b = 20;
If a Then
b = 10
b = 20