Mega Code Archive
Categories
/
VB.Net Tutorial
/
Statements
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