Dictionary collections are similar to the other types of collection I’ve posted about. With the exception of a Dictionary collection uses a key of type for each collection entry. This makes it so you can look-up an item by its key. Again this code is small and not a part of any program. More of my notes as I went along teaching myself about this collection type. Gotta be honest I was liking how this worked.
Just like the previous post. These are more of my notes as I’m trying different things. Not really any type of full fledged program. This is about collection initialization. The previous entry was how initialize objects and put them into some sort of list. So I got to reading further on how to take those objects, put the objects into a list collection, and initialize them and the list collection all at once. Again no live version of this program, no need really. You can download the source code to look at.
This example isn’t a program the does anything special in particular. It’s more of my code showing my note taking process as I’m learning a particular action, method, etc… I’ve gone back to studying list and dictionary collections. I’ll show you the various different things I’ve been trying over the next few posts. Pay attention to the comments in the code. You will only be able to download the source code for this. No Live example because I didn’t see the need. I’ve tried to explain what I was doing there so I don’t have to give any lengthy explanations here. However if you have any questions please post a comment.