Hi I hope to get some help.
What I want to do is bring a TextBox and a int to a function that returns a string.
What I want to do is bring a TextBox and a int to a function that returns a string.
C#:
public string CheckIf(TextBox textBoxTemp_1, int Temp)
{
string TextBoxTemp_2;
if (textBoxTemp_1.TextLength <= 0)
{
string[] TextBox_1 = new string[Temp];
foreach (var item in TextBox_1)
{
TextBoxTemp_20 += item + "\r\n";
}
TextBoxTemp_2 = TextBoxTemp_20;
return TextBoxTemp_2;
}
}
Last edited by a moderator: