how do you retrieve the customized properties of a .NET
application from XML .config file? Can you automate this
process?



how do you retrieve the customized properties of a .NET application from XML .config file? Can you ..

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

Post New Answer

More Dot Net General Interview Questions

Explain is the jit an interpreter?

0 Answers  


What is the need of OLE-automation?

0 Answers   CGI,


Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

0 Answers  


Define code access security (cas)?

0 Answers  


Should I use readerwriterlock instead of monitor.enter/exit?

0 Answers  






What are the core differences between .NET Languages ?

0 Answers   TCS,


What is an Exception? How many exceptions exist in Dot net and explain them?

2 Answers   CSC, TCS,


How different are interface and abstract class in .Net?

2 Answers  


Explain the .NET architecture.

9 Answers   HCL, Idhasoft, Scandent, TCS, TechnoLinks,


What is the use of trace utility?

1 Answers  


What is a Manifest?

1 Answers   CTS,


What is .net3.5?

0 Answers  


Categories