public static uint SetHigher(uint number, short high) { // ReSharper disable once UseObjectOrCollectionInitializer var union = new WordUnion { Number = number }; union.High = short.MaxValue; return(union.Number); }
public static uint SetLower(uint number, short low) { // ReSharper disable once UseObjectOrCollectionInitializer var union = new WordUnion { Number = number }; union.Low = low; return(union.Number); }