728x90
string cipher = "pfqallllabwaoclk";
int code = 2;
string answer = "";
char[] charr = cipher.ToCharArray();
for (int i = 1; i <= cipher.Length / code; i++)
{
answer += charr[code * i -1];
}
return answer;
728x90