Link to home
Start Free TrialLog in
Avatar of xtremereality
xtremerealityFlag for United Kingdom of Great Britain and Northern Ireland

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
ASKER CERTIFIED SOLUTION
Avatar of bluefezteam
bluefezteam

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bluefezteam
bluefezteam

P.S you can use this website for future c# code you need to convert to vb and vice versa

http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
Avatar of xtremereality

ASKER

Cool!! thanks for the website..very usefull