Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Dictionary is like arrays but it can store more than 1 type, like int, string, double, bool etc.
- Dictionary<Type, Type> dictionaryName = new Dictionary<Type, Type>();
- //So now lets look at these filled in.
- Dictionary<string, string> dictionary = new Dictionary<string, string>();
- //Now u add the stuff to add into it, like:
- dictionary.Add("Lamo", "SikSkillzBruv");
- //At the start of your dictionary.Add, the part before the add is your dictionary name.
- //Lets lets use 2.
- Dictionary<string, int> Lamo = new Dictionary<string, int>();
- Lamo.Add("XDDD", 100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement