public JoinTwoUInt32 ( |
||
FirstPart | ||
SecondPart | ||
return | System.UInt64 |
public UInt64 JoinTwoUInt32(UInt32 FirstPart, UInt32 SecondPart)
{
// Convert both numbers into 32 char strings, join them together into 62 char string and then convert into UInt64
return Convert.ToUInt64((GetTo32Char(Convert.ToString(FirstPart, 2)) + GetTo32Char(Convert.ToString(SecondPart, 2))), 2);
}