fork(1) download
  1. private void Enter_Click(object sender, EventArgs e)
  2. {
  3. string text = CurrentString.Text;
  4. string[] words = text.Split(new char[] { ' ' });
  5. foreach (string word in words)
  6. {
  7. for (int j = 0; j < word.Length; j++)
  8. {
  9. text = word.ToCharArray().First + word.Substring(1, word.Length - 2) + word.ToCharArray().Last;
  10. }
  11. }
  12. var readablePhrase = string.Join(" ", words);
  13. ResultBox.Text = readablePhrase;
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,9): error CS1525: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', `ref', or `struct'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty