Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. char[] a = txt_e.Text.ToCharArray();
  2. try
  3. {
  4. string txte = txt_e.Text.ToString();
  5. string[] txt = new string[txte.Length];
  6. for (int k = 0; k <= txte.Length; k++)
  7. {
  8. int umrechnung = Convert.ToInt32(a[k]);
  9. if (umrechnung >= 97)
  10. {
  11. if (umrechnung <= 121)
  12. {
  13. umrechnung = umrechnung + 1;
  14. a[k] = Convert.ToChar(umrechnung);
  15. txt_a.Text += a[k];
  16. }
  17. else if (umrechnung == 122)
  18. {
  19. umrechnung = 97;
  20. a[k] = Convert.ToChar(umrechnung);
  21. txt_a.Text += a[k];
  22. }
  23. else
  24. {
  25. txt_a.Text += a[k];
  26. }
  27. }
  28. else if(umrechnung <= 89)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement