New To Game Designing

Member
Posts: 20
Joined: 2011.08
Post: #31
Yesterday my father taught me how to use a dictionary. It's pretty handy to use.
Quote this message in a reply
Moderator
Posts: 452
Joined: 2008.04
Post: #32
Yeah, I wish a lot more people around here could use a dictionary!

Howling Moon Software - CrayonBall for Mac and iPhone, Contract Game Dev Work
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #33
i fynd thee jennerul levvel ov literarsee arownd hear too bee kwite reazonabull
Quote this message in a reply
Member
Posts: 20
Joined: 2011.08
Post: #34
I meant in programming.
You can use it to make the program remember things and what he has to do when he sees it.
example: Dictionary<string, string> questionAndAnswer0 = new Dictionary<string, string>();
questionAndAnswer.Add("-Key-", "-Value-")
if (questionAndAnswer.ContainsKey(answer0))
Console.Writeline[answer0];

I made a few mistakes, but this is what i meant. Smile
(It's C#)
Quote this message in a reply
Post Reply