I try
Code: Select all
public void Set_Val(string Text, out string AccVal)
{
AccVal = Company_name + ";" + Contract_name + ";" + Text;
}
Argument 2 must be passed with the 'out' keyword (CS1620)
The best overloaded method match for 'Set_Val(string, out string)' has some invalid arguments (CS1502) piece of code:
Code: Select all
Set_Val("Text", Acc);