110,537
社区成员
发帖
与我相关
我的任务
分享
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text.Length > 0)
textBox1.Text = textBox1.Text.Substring(1) + textBox1.Text[0];
}
string str = "我靠啊啊啊啊啊啊啊NHI埃弗拉";
str = str.Insert(0, str[str.Length - 1].ToString()).Remove(str.Length);
void btn_Click(object sender, RoutedEventArgs e)
{
string text = textBox1.Text;
char last = text[text.Length - 1];
string other = text.Substring(0, text.Length - 1);
textBox1.Text = last + other;
}
void btn_Click(object sender, RoutedEventArgs e)
{
string text = textBox1.Text;
char last = text[text.Length - 1];
string other = text.Substring(0, text.Length - 1);
this.defaultTextBlock.Text = last + other;
}