how do you retrieve the customized properties of a .NET
application from XML .config file? Can you automate this
process?
Answer / saravankumar
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 |
How many namespaces are in .net version 1.1?
Name some of the languages .NET support?
What is finalize method in .net?
How to customize the trace output?
What is the difference between web application and enterprise application?
What is the use of system.diagnostics.process class in .net?
Is .net core stable?
What are the different types of memory in .net?
Explain what is the difference between odbc and ado?
Please send me the latest asp.net,c#,sql server interview questions .my email id is ramtryin@gmail.com
If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column