How do you join strings in VB.NET

A) +
B) &
C) Both A & B

Showing Answers 1 - 4 of 4 Answers

ImDaFrEaK

  • Feb 9th, 2006
 

I got this one wrong as well.  I marked only "&".  However, I tested "+" in my IDE and you can add strings with the plus sign as well.  Who'd a thunk.

  Was this answer useful?  Yes

Ash Khan

  • May 13th, 2006
 

There is difference between 'Join' and 'Add'.

Join is to Concatenate 2 or more strings

Ex. "1" & "2" gives u "12"

Add is to add the numeric value of strings.

Ex. "1" + "2" gives u "3"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions