G
Guest
Hello All:
In VB6, we were encouraged never to use "+" to concatenate strings, due to
issues arisiing from Variants. We wre encouraged to use "&" instead.
Since .NET doesn't allow Variants, in your opinion, is it still good
programming practice to use either:
String.Concat("a", "b")
or
"a" & "b"
Or are we now allowed to use "a" + "b" as well.
What has your experience been?
TIA,
In VB6, we were encouraged never to use "+" to concatenate strings, due to
issues arisiing from Variants. We wre encouraged to use "&" instead.
Since .NET doesn't allow Variants, in your opinion, is it still good
programming practice to use either:
String.Concat("a", "b")
or
"a" & "b"
Or are we now allowed to use "a" + "b" as well.
What has your experience been?
TIA,