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

Can we create instance of private class in c#?

0 Answers  


Why we use extension method in c#?

0 Answers  


How can we sort an array in c#?

0 Answers  


What is JIT (just in time)? how it works?

0 Answers  


What is hashtable c#?

0 Answers  


How to prevent the error while updating ui control from another thread?

0 Answers  


What?s the advantage of using System.Text.StringBuilder over System.String?

1 Answers  


What is the difference between early binding and late binding in c#?

0 Answers  


Can we create multiple constructors?

0 Answers  


What is default class in c#?

0 Answers  


What is func c#?

0 Answers  


Is c sharp open source?

0 Answers  


Categories