>Hi,
>
>>I need to load a bunch of names (up to about 15) into an array or arraylist. I would like to know which method is faster:
>>
>>1. Create an xml file of these names and use LoadXml method
>>or
>>2. Add these names into an external web.config file (e.g. my.config)
>>
>>Thank you in advance for any input.
>
>You could look at putting the items in Web.config and implementing IConfigurationSectionHandler. A handler can be simply constructed to return an ArrayList directly - and may prove reusable for other web.config sections.
>HTH,
>Viv
I have never done/heard of IConfigurationSectionHandler. I will google for some samples on the web.
Thank you very much for the suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham