Related resources for for each statement C#