Windows Phone Developers

Friday, December 5, 2008

Operator '&' cannot be applied to operands of type 'string' and 'string' - CS0019

Operator '&' cannot be applied to operands of type 'string' and 'string' - CS0019



MessageBox.Show("Hello " & "World");


should be



MessageBox.Show("Hello " + "World");



Try stringbuilder also

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

1 comment:

  1. Thanks

    I was having trouble with a listbox, I was trying to add diferent variables to one line and this was the solution =)..

    ReplyDelete

kbAlertz.com :: Visual Studio 2005

kbAlertz.com :: Visual Studio 2008

kbAlertz.com :: Visual Basic 2005