Advertisement
Guest User

Untitled

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