since i'm poor with javascript I would like someone to convert this small function to C# code for me..
var cn = 0;
function C(i,s)
{
return s.charCodeAt(i) ^ (cn|1) ^ ((cn++ & 1)?i:0) ^ 0x55
}
I would really appreciate your help. thanks in advance :)