What is equivalent to NSDictionary in C #?
Is this a collection?
Its System.Collections.Generic.Dictionary<,>To set an object (e.g. setObject:forKey: , you use:
System.Collections.Generic.Dictionary<,>
setObject:forKey:
Dictionary[Key] = Object;
To get an object (e.g. objectForKey: , you use:
objectForKey:
var Object = Dictionary[Key];
You can also use the HashTable class:
Example:
HashTable dict = new HashTable(); dict.Add("key", object);
Source: https://habr.com/ru/post/903498/More articles:Algorithms for 3D mazes - c ++Compress numpy array (matrix) by deleting columns using another numpy array as mask - pythonDesigning an Oxford English Dictionary - javaDoes anyone know the word that the built-in ord () function is shortened? - functionRails, Ruby 1.9.3p0 and mysql gem - ruby | fooobar.comR-cards - how to draw lines between countries? - rObject holding count 0 is not freed - memory-managementMysql row difference - phpUnderstanding Git with Xcode and BitBucket - gitCardless HDFS Distribution / Reduction - hadoopAll Articles