Using foreach loop on Dictionary When I was trying to use foreach loop with classes or a value type I was doing it like that