title: Detect multiple objects with one statement
body: <p>I am making a little game in winforms. I am aware of that winforms isn't really for making games. However it is just a small project to learn myself OOP in a way that I enjoy doing.</p>
  
  <p>So the problem is. I want to detect collision on the grid map. So my plan was to tag them with Collision however then i would have to write a million statements since you need to reference the control before you can access the tag. And because it is build up in tiles they all have different names.</p>
  
  <p>So is there a way to detect multiple objects with diffrent names by some sort of tag or whatever.</p>
  
  <p>Small drawing to (try) simplify my question.</p>
  
  <p><img src="https://i.stack.imgur.com/9f9Wf.png" alt="Example"></p>
  
  <p>So bassicly I want p the player to be able to collide with all the c's without having to write multiple if statements.</p>
  
  <p>So if all the c's had one way of identifying them. It would be a really simple if statement.</p>