QuestionQ315

VerifiedDevelopment Best Practices

Which of the following shows the correct syntax for using the VB.NET If operator?

Explanation

The three-argument VB.NET If operator takes a Boolean condition, the value to return when the condition is True, and the value to return when it is False: If(condition, valueIfTrue, valueIfFalse).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!