This is just an example i have to do a simillar thing on a much larger code , but my question is why doesn t this work? I solved my problem with a string method and return statements but why can t i use a void method with the result parameter?
private void button1_Click(object sender, EventArgs e)
{
Method(textBox1.Text);
}
public void Method(string c)
{
string a = "4";
string b = "3";
c = a + b;
}