private unsafe static void DoTestB() {
    foreach (var kvp in userPurchasesB) {
        PrintUserDetails(kvp.Key);
        for (int i = 0; i < kvp.Value.Count; ++i) PrintPurchaseDetails(kvp.Value[i]);
    }
}