showing results for - "how does a dictionary from c 23 translate into js"
Jace
13 Oct 2020
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}