I have main class Form1:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public void GetLengthFirst_Click(object sender, EventArgs e)
{
textBox.Text = "123";
}
}
and my own class:
class Arr
{
/// in my opinion this should be done like this...
int Lenght = Convert.toInt32(Form1.textBox.Text);
int[] nums = new int[Lenght];
}
but my ideas did not materialize