how do you retrieve the customized properties of a .NET
application from XML .config file? Can you automate this
process?
Answer / saravankumar
Initialize an instance of AppSettingsReader class. Call the
GetValue method of AppSettingsReader class, passing in the
name of the property and the type expected. Assign the
result to the appropriate variable. In Visual Studio yes,
use Dynamic Properties for automatic .config creation,
storage and retrieval.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a Strong Name?
How do I use the thread pool?
What are the improvements made in cas in .net 4.0?
Explain assemblies in .net?
Types of evidence in .net with context to CAS
What is different between webusercontrol and in webcustomcontrol?
What is clr in .net?
Why did they call it .net?
Explain what is an anonymous method and how is it different from a lambda expression?
Explain the difference between task and thread in .net?
Can you edit data in repeater control? How?
Tell us the difference between managed and unmanaged code?