index += ((int)keyData[index + 1] == 64 ? 2 : 3);//279这句怎么转为VB.NET啊 大神些;
用这个(http://www.developerfusion.com/tools/convert/csharp-to-vb/)转结果:
index += If(CInt(keyData(index + 1)) = 64, 2, 3) 但是结果不对?
------解决思路----------------------
其实就是如果CInt(keyData(index + 1)) == 64,index = index + 2,else index = index + 3,这回知道怎么写了吧