<p>How do I loop into all the resources in the resourcemanager?</p>

<p>Ie:
foreach (string resource in ResourceManager)
  //Do something with the recource.</p>

<p>Thanks</p>

Use ResourceManager.
GetResourceSet
() for a list of all resources for a given culture. The returned ResourceSet implements IEnumerable (you can use foreach).
To answer Nico's question: you can count the elements of an
```
IEnumerable
```
by casting it to the generic
```
IEnumerable<object>
```
and use the
```
Enumerable.Count<T>()
```
extension method, which is new in C# 3.5:
```
```
using System.Linq;

...

var resourceSet = resourceManager.GetResourceSet(..);
var count = resSet.Cast<object>().Count();
```
```