Guest User

Untitled

a guest
May 26th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.14 KB | None | 0 0
  1. Dictionary<string, string> d = new Dictionary<string, string>();
  2. try{
  3.     string s = d["fail"];
  4. } catch (Exception e){
  5.     //do what you need to
  6. }
Add Comment
Please, Sign In to add comment