Y
yxq
Hello,
There are the C# codes£¬but i know a little about C#, i want to convert to
VB.NET, i have try the
url(http://authors.aspalliance.com/aldotnet/examples/translate.aspx), but
the converted codes will not work. Thank you!
char[] Source = new char[15]
int n, hi, low, v;
do
{
low = Source[n]; // I use Microsoft.VisualBasic.Val(Source(n)) in
vb.net
v = hi << 8; // << what meaning?
v |= low; // |= what meaning?
Source[n] = (char)(v % 24); // % is Mod?
Source[n] = (char)(v / 24);
hi =v % 24;
}while((--n) >= 0); // --n>=0 what meaning£¿
There are the C# codes£¬but i know a little about C#, i want to convert to
VB.NET, i have try the
url(http://authors.aspalliance.com/aldotnet/examples/translate.aspx), but
the converted codes will not work. Thank you!
char[] Source = new char[15]
int n, hi, low, v;
do
{
low = Source[n]; // I use Microsoft.VisualBasic.Val(Source(n)) in
vb.net
v = hi << 8; // << what meaning?
v |= low; // |= what meaning?
Source[n] = (char)(v % 24); // % is Mod?
Source[n] = (char)(v / 24);
hi =v % 24;
}while((--n) >= 0); // --n>=0 what meaning£¿