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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -