So how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process ?
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 |
What does type safe mean in c#?
What is datasource c#?
how can i get this 123456789 1234 6789 123 789 12 89 1 9
What is the difference between Singleton design pattern and Factory design pattern?
how to stored and retrive video in Sql server using asp.net c#......?
0 Answers Sans Pareil IT Services,
What is Dispose method in .NET?
Explain the difference between a struct and a class?
What do you mean by expression tree?
Explain more on CLR
Why multiple inheritance is not possible in c#
what is the difference between interface and multiple interface?
What is early binding and late binding
12 Answers ABC, Infosys, TATA,