xtremereality
asked on
function conversion
Hi Experts,
How convert this:
public static ulong Reverse(ulong x) {
return
((x >> 56) & 0x00000000000000FF) |
((x >> 40) & 0x000000000000FF00) |
((x >> 24) & 0x0000000000FF0000) |
((x >> 8) & 0x00000000FF000000) |
((x << 8) & 0x000000FF00000000) |
((x << 24) & 0x0000FF0000000000) |
((x << 40) & 0x00FF000000000000) |
((x << 56) & 0xFF00000000000000);
}
and this
public FractionUInt32? AverageFrameRate {
get { return _averageFrameRate; }
}
Into vb.Net?
Thanks in advance
How convert this:
public static ulong Reverse(ulong x) {
return
((x >> 56) & 0x00000000000000FF) |
((x >> 40) & 0x000000000000FF00) |
((x >> 24) & 0x0000000000FF0000) |
((x >> 8) & 0x00000000FF000000) |
((x << 8) & 0x000000FF00000000) |
((x << 24) & 0x0000FF0000000000) |
((x << 40) & 0x00FF000000000000) |
((x << 56) & 0xFF00000000000000);
}
and this
public FractionUInt32? AverageFrameRate {
get { return _averageFrameRate; }
}
Into vb.Net?
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cool!! thanks for the website..very usefull
http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx