double.Parse(txt.Text)
foreach
foreach (Control ctrl in panel1.Controls) { if (ctrl is TextBox) { double dbl = Double.Parse(((TextBox)ctrl).Text); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)