1var dictionaryVariable //dictionary recieved from C#
2dictionaryVariable["Key"] //will return specified key's value
3for (var d in dictionaryVariable)
4{
5 if (dictionaryVariable.hasOwnProperty(d))
6 {
7 alert(d + ' ' + dictionaryVariable[d]); //displays key and value of all dictionary entries
8 }
9}