I want to do foreach for each child in my app.config, but there is no open definition for "GetEnumerator" in System.ServiceModel.Configuration.CustomBindingCollectionElement. I would not ask if it was my own class, but this is System One. Is there something I can use instead of foreach to scroll through each child in a BindingsSection?
This is what I want to perform foreach on
BindingsSection bindingsSection = ConfigurationManager.GetSection("system.serviceModel/bindings") as BindingsSection;
source
share