This is the method i have set up to return the value of farenheit converted to celsius

private double converttocelsius(double farenheit) { double convcelsius = farenheit * 1.8 + 32; return convcelsius; }

and this is what i have come up with thus far trying to come up with the solution. But im getting an error about converting from double to string and for invalid arguements

private void conversionbtn_Click(object sender, EventArgs e) { string celsius; string farenheit; double convcelsius; double convfarenheit; celsius = celsiusinput.Text; farenheit = farenheitinput.Text; if (celsius != "") MessageBox.Show(converttofarenheit); //conversionlbl.Text = "celsius"; else if (farenheit != "") MessageBox.Show(converttocelsius(convcelsius,2)); //conversionlbl.Text = "converttofarenheit"; else conversionlbl.Text = "Must enter number in only one box!"; }

Im new to C# this is my first class..and i had trouble when i was first starting vb too...so im hoping that it will be something simple that im overlooking or forgetting about. Any help is appreciated..thanks in advance