i get an error saying that Error, Operator '&&' cannot be applied to operands of type 'string' and 'string'Code:private void Form1_MouseClick(object sender, MouseEventArgs e) { label1.Text = "x:" && MousePosition.X.ToString(); }
I know that in VB.net i can just type "string" & something.text & "string"
what am i doing wrong in C# ?
how can i get the "x:" and the mouseposition to stand on one line ? :S




Reply With Quote