Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can you clean up objects holding resources from within the code?

2 Answers   Wipro,


What is UDDI and how to register a web service ?

2 Answers   Msoft, TCS,


How many types of exception handlers are there in .NET?

2 Answers  


Can we Classic ASP,.Net 1.0, .Net 1.x and .Net 2.0 installed on the same system?

2 Answers   Value Labs,


Tell us what is the difference between struct and class?

0 Answers  


Explain soap and xml?

0 Answers  


How to load a user control dynamically in runtime?

0 Answers  


What is .net debug & trace?

0 Answers  


What are the security policy levels in .Net

0 Answers  


What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?

0 Answers  


What is use of ContextUtil class?

1 Answers  


questions on various scenarios on exception handling? like for example.... try { a; b; ...exception occurs here...what happens...will catch execute or will finally execute...will c execute c; } catch { a; b; c; } fianlly { a; b; }

1 Answers   Manhattan,


Categories