Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void IterateOverDictionary()
- {
- Dictionary<string, HashSet<string>> claims = GetClaims();
- foreach (KeyValuePair<string, HashSet<string>> pair in claims)
- {
- string claimType = pair.Key;
- HashSet<string> claimValues = pair.Value;
- foreach (string claimValue in claimValues)
- {
- Console.WriteLine($"{claimType} = {claimValue}.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement