What is the best way to combine two uints into a ulong in c#

Posted by Jason Coyne on Stack Overflow See other posts from Stack Overflow or by Jason Coyne
Published on 2009-07-30T21:17:29Z Indexed on 2010/05/03 2:58 UTC
Read the original article Hit count: 294

Filed under:
|
|
|
|

What is the best way to combine two uints into a ulong in c#, setting the high/low uints.

I know bitshifting can do it, but I don't know the syntax, or there maybe other APIs to help like BitConverter, but I don't see a method that does what I want.

© Stack Overflow or respective owner

Related posts about c#

Related posts about uint