PDA

Click to See Complete Forum and Search --> : Basic String Question


Shaitan00
Aug 8th, 2003, 12:36 PM
Given a Textbox [txtVersion] and a variable [string SoftVer = "1.00"]

I want to do the following [which works in VB6]
txtVersion.txt = "Version: " & SoftVersion

However C# gives me the following error: Operator '&' cannot be applied to operands of type 'string' and 'string'

Cander
Aug 8th, 2003, 01:34 PM
& is bit wise operator only in C#. Use +