|
-
Mar 2nd, 2004, 12:30 PM
#1
Thread Starter
Lively Member
Function Error
Hello Everybody:
I am trying to develop a function to concate three strings . When I compile it gives me a compile error .Can anyone tell me whats wrong?
The error is :
Method 'Project01.Form1.Variable(string, string, string)' referenced without parentheses
public string Variable(string UserName, string PhoneNumber, string RemoteYN)
{
UserName= txtUserName.Text;
PhoneNumber= txtPhoneNumber.Text;
RemoteYN= txtRemoteString.Text;
return Variable= String.Concat( UserName, PhoneNumber, RemoteYN);
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
|