vb.net - if() not recognized in VB .Net 3.5 VS2012 -


i asked a question, answer proposed use if() function.

i tried in visual studio, seems not present...

here screenshot of intellisense : enter image description here

it shows me classical if structure.

when write out completely

if(true, debug.write("a"), debug.write("b")) 

i syntax error, saying :

if must end corresponding end if

what missing here ?

.net framework 3.5

visual studio 2012 express

the project console application , tried in winforms...

the if() operator returns value, try:

debug.write(if(true, "a", "b")) 

Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -