SkipRadioCheck invert logic rinverted

This commit is contained in:
Stoyan Zlatev
2024-09-17 17:14:55 +02:00
parent a1292d1891
commit 9563967701
3 changed files with 51 additions and 23 deletions
+49 -17
View File
@@ -1,30 +1,62 @@
namespace CommonConsole
{
using System;
public class Program
{
public static void Main()
{
int value = 333333333;
var bytes1 = BitConverter.GetBytes(value);
Array.Reverse(bytes1);
Console.WriteLine(BitConverter.ToString(bytes1).Replace('-', ' '));
var hex = string.Empty;
while (value > 0)
{
hex = $"{value % 256:X2}{hex}";
value /= 256;
}
Console.WriteLine(hex);
}
/// <summary>
/// 0B
/// D0