|
-
Aug 8th, 2003, 12:36 PM
#1
Thread Starter
Hyperactive Member
Basic String Question
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'
-
Aug 8th, 2003, 01:34 PM
#2
& is bit wise operator only in C#. Use +
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|