J
Joe Abou Jaoude
Hi,
I want to initialize a number of objects via an xml file, and I was
wondering if that can be done through a section in the app.config file
without the need to use another config file.
example:
if we have the class:
Public Class myClass
Public property prop1
Public property prop2
....
End Class
the config file would be something like this:
<config>
<MyClass>
<prop1>abc</prop1>
<prop2>xyz</prop2>
</MyClass>
<MyClass>
<prop1>deg</prop1>
<prop2>klm</prop2>
</MyClass>
</config>
is there a way to do that in the app.config file ?
Thank you
I want to initialize a number of objects via an xml file, and I was
wondering if that can be done through a section in the app.config file
without the need to use another config file.
example:
if we have the class:
Public Class myClass
Public property prop1
Public property prop2
....
End Class
the config file would be something like this:
<config>
<MyClass>
<prop1>abc</prop1>
<prop2>xyz</prop2>
</MyClass>
<MyClass>
<prop1>deg</prop1>
<prop2>klm</prop2>
</MyClass>
</config>
is there a way to do that in the app.config file ?
Thank you