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 language do desktop applications use?
What is dependency in software?
Why do we need structs in c#?
What is a generic in c#?
What is console write in c#?
Explain the accessibility modifier protected internal?
Is c# pass by reference?
How can we Achieve Late binding in C#.Can any give one example.
What does assemblyinfo.cs consists ?
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.
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?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)