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 is the adv of using System.Text.StringBuilder over System.String?
How will U encapsulate button trigger event into text_box event of Pressing Enter key?
Can class be protected in c#?
What is the difference between overriding and overloading in systemverilog?
Does hashset allow duplicates c#?
Why is ienumerable used?
How u call destructor and dispose methode in c#.NET
write a program to find the biggest palindrome in the given string
Is list immutable in c#?
What does type safety mean?
What is for loop in c#?
What is verbatim string?