In order to eliminate the need to write a really long Switch Statement, I want to get the object property from a collection that contains data.
Here is my code: