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

How can an inner class access the members of outer class?

0 Answers   Changepond,


What happens if you add duplicate elements to a set?

0 Answers  


What language is arduino?

0 Answers  


How do you debug an ASP.NET Web application?

1 Answers   Rolta, Siebel Systems,


I have a class declared as below public class a { public void add() {} } What is the diference between a a1 =new a; and simply a a1;

3 Answers  


what are wrapper classes?

1 Answers  


how to retrive a TextBox value in to Sql database using C# windows form application coding

3 Answers  


Is there any way to access private memebers of an object from another object?

4 Answers   TCS,


Do loops in c#?

0 Answers  


Is it possible to nest cfml conditional tags?

0 Answers   HCL,


Explain about generics in c#.net?

0 Answers  


How do you ensure the assembly created in c# is interoperable with vb.net?

4 Answers   IBM,


Categories