Change ForEach to LINQ Statement