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...


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



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

Answer / sudhanshu

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 C Sharp Interview Questions

What are the ways in which client can create object on server in cao model?

0 Answers  


What?s the difference between an interface and abstract class?

6 Answers   Mind Tree, Siebel,


if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...

2 Answers   CybAge, Wipro,


What is default c#?

0 Answers  


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

0 Answers   Siebel,


Explain the working of serialization?

0 Answers  


What is type casting. Explain it with reference to classes.

2 Answers   HCL, JPMorgan Chase,


Why delegates are type safe in c#?

0 Answers  


What is callback function in c#?

0 Answers  


What are the access allowed for compilation units(namespace),class and structs and what are its default access?

1 Answers   TCS,


In which order the constructor is called for an inherited class?

0 Answers  


What is a string c#?

0 Answers  


Categories