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
Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?
What is COM Interoperability in .NET
What is difference between .net core and .net standard?
How can you turn-on and turn-off cas?
What are the improvements made in cas in .net 4.0?
SAP Business One(this is intigrated tool of .net)
Explain about Behavioral design pattern?
What is a .net class?
Do you know what is .net standard?
What is the difference between .net and laravel?
How do we access crystal reports in .net?
Tell us what do the following acronyms in .net stand for: il, cil, msil, cli and jit?
What is an anonymous method?
What are multicast delegates?
Give a brief introduction on side-by-side execution. Can two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executables?