using System.Security.Cryptography;
public static void Main(string[] args){
var splitPercentage = 0.5;
int hash = Guid.NewGuid().GetHashCode();
Console.WriteLine($"HashCode for ID: {hash}");
double normalizedValue = Math.Round((hash & Int32.MaxValue) / (double)Int32.MaxValue, 1);
Console.WriteLine($"Normalised value of HashCode: {normalizedValue}");
var assignedGroup = normalizedValue < splitPercentage ? "Group A" : "Group B";
Console.WriteLine($"Assigned Group: {assignedGroup}");