Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. private void IterateOverDictionary()
  2. {
  3. Dictionary<string, HashSet<string>> claims = GetClaims();
  4. foreach (KeyValuePair<string, HashSet<string>> pair in claims)
  5. {
  6. string claimType = pair.Key;
  7. HashSet<string> claimValues = pair.Value;
  8. foreach (string claimValue in claimValues)
  9. {
  10. Console.WriteLine($"{claimType} = {claimValue}.");
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement