Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. private string getValueFromDict(ConcurrentDictionary<string, ConcurrentDictionary<string, string>> source, string keyValue, string subKeyValue)
  2. {
  3. string result = null;
  4. ConcurrentDictionary<string, string> sourceValueObject;
  5. source.TryGetValue(keyValue, out sourceValueObject);
  6. sourceValueObject.TryGetValue(subKeyValue, out result);
  7.  
  8. return result;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement