VB.Net Tutorial/Statements/IIf
IIf
public class Test
public Shared Sub Main
Dim intScore As Integer
intScore = 23
Console.WriteLine( IIf((intScore < 50), 1, 2) )
End Sub
End class
1
public class Test
public Shared Sub Main
Dim intScore As Integer
intScore = 23
Console.WriteLine( IIf((intScore < 50), 1, 2) )
End Sub
End class
1