Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.16 KB | None | 0 0
  1. bool swapChar = false;
  2.  
  3. for(int i = 0; i < str.Length; i++)
  4. {
  5.     str[i] == '*' ? swapChar = true : false;
  6.     swapChar ? str[i] == "строчный" : false;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement