ConfigurationElementCollection to String Array

S

shapper

Hello,

I need to convert a collection that inherits
ConfigurationElementCollection to an array:

GoogleAjaxConfigurationElement[] c;
Platform.Configuration.Google.Ajax.Libraries.CopyTo(c, 0);

GoogleAjaxConfigurationElement inherits ConfigurationElement and it
has two properties: Name and Version.

I need to create a String[,] to hold all elements in the collection
and for each one hold the name and version.

I was trying to use Linq or some collection method but I am not sure
how.

And it would be great if I could do it directly from the
ConfigurationElementCollection
(Plataform.Configuration.Google.Ajax.Libraries).

How can I do this?

Thank You,

Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top