var input = new int[,]
{
{ 1, 22, 333 },
{ 4, 5, 99999 }
};
var output = new int[]
{
6, 3, 2, 1, 1
};
[Serializable]
[XmlRoot(ElementName = "users")]
public class Members
{
[XmlElement(ElementName = "radiostation")]
public Radiostation[] Radiostations { get; set; }
}
var member = LoadFile<Members>(XMLFileName);
var radiostation = Array.Find(member.Radiostations, r => r.Name == MainForm.nameStation);
if (radiostation != null)
{
editTitleRadiostation.Text = radiostation.Name;
editCountryPanel.Text = radiostation.Country;
editGenrePanel.Text = radiostation.Genre;
editSubGenrePanel.Text = radiostation.Subgenre;
editUrlPanel.Text = radiostation.Urlwww;
editIcoPanel.Text = radiostation.Ico;
}
Только выбирается 1-я строка, а по другим не проходит (((
string text = "51651";
var intValue = text.ToInt();
Console.WriteLine("{0} площадь вашего круга!", pi * Math.Pow(x, 2));
Console.WriteLine($"{pi * (Math.Pow(x, 2))} площадь вашего круга!");