Derviş Kayımbaşıoğlu's user avatar
Derviş Kayımbaşıoğlu's user avatar
Derviş Kayımbaşıoğlu's user avatar
Derviş Kayımbaşıoğlu
  • Member for 5 years, 9 months
  • Last seen more than a week ago
About

Contact me on Codementor

If you need further help you can Contact me on Codementor on CodeMentor.

var result = String.Concat("ESı!BJCŝPM".Zip("DUŝJXL@HġT", (a, b) => --a + "" + ++b));

var encode = "DERVİŞ KAYIMBAŜIOĢLU"
    .Select((x, i) => new {Group = i % 2, Ch = i % 2 == 0 ? ++x : --x})
    .GroupBy(item => item.Group == 1)
    .Select(gr => string.Concat(gr.Select(item => item.Ch)))
    .ToArray();

var decode = String.Concat(encode[0].Zip(encode[1], (a, b) => --a + "" + ++b));

if (result.Equals(decode))
    Console.WriteLine("That's Me!");
Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
4
bronze badges
Top tags
2
Score
2
Posts
67
Posts %
2
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %
0
Score
1
Posts
33
Posts %