Is there an alternative to a foreach statement?
<p>I want to do a foreach on each child in my app.config but there is no public definition for 'GetEnumerator' in System.ServiceModel.Configuration.CustomBindingCollectionElement I would not ask if this were my own class, but it is a System one. Is there something I can use instead of the foreach to loop through each child in the BindingsSection?</p>

<p>This is what I want to perform the foreach on</p>

<pre><code>BindingsSection bindingsSection = ConfigurationManager.GetSection("system.serviceModel/bindings") as BindingsSection;
</code></pre>
