how do you retrieve the customized properties of a .NET
application from XML .config file? Can you automate this
process?
Answer Posted / 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 |
Post New Answer View All Answers
What is Flyout Design Pattern in .NET?
What is the use of common language runtime?
Explain what is an application domain?
State some of the different languages supported by .net?
Is there built-in support for tracing?
How to instantiate a delegate?
What's typical about a windows process in regards to memory allocation in .net?
Please explain what is the difference between a class and an object?
Difference between abstract class and interface in .net?
Can a try block have more than one catch block?
Explain when should you use .net web forms over asp.net mvc?
If any body working in Infosys, please can u give me the referense to that company because i hered that their is openings for freshers with referal..
Why did they call it .net?
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
What does .net stand for?