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 language do desktop applications use?

0 Answers  


What is dependency in software?

0 Answers  


Why do we need structs in c#?

0 Answers  


What is a generic in c#?

0 Answers  


What is console write in c#?

0 Answers  


Explain the accessibility modifier protected internal?

0 Answers  


Is c# pass by reference?

0 Answers  


How can we Achieve Late binding in C#.Can any give one example.

5 Answers   Value Labs,


What does assemblyinfo.cs consists ?

4 Answers   Microsoft,


how to store the value in textbox using delegates if we have two user control. the value will be called from one user control to another user control. Loading and unloading will be done through delegates.

1 Answers  


How can you sort the elements of the array in descending order?

1 Answers   Junosource, Siebel Systems, Wipro,


What does the keyword virtual mean in the method definition?

1 Answers  


Categories