Not sure why you have a downward line, good work announcing that this is homework and at least providing some work that you have done. In addition, everyone here must understand that you want to learn.
, , . Phylyp, , , , .
, . , , .
, , , , .
. .
private void Button1_Click(object sender, EventArgs e)
{
const string suffix = "ay";
string enteredString = textBox1.Text;
if(enteredString.Length < 2)
{
MessageBox.Show("Please enter at least 2 or more characters");
return;
}
label2.Text = string.Format("{0}{1}{2}",
enteredString.Substring(1),
enteredString.Substring(0,1),
suffix);
}
EDIT. , , 1, . , , , 1, . , 0, 1 . , , . , , . , , , .
, !