How you will connect to windows directory in c#?
Answers were Sorted based on User's Feedback
Answer / parmjit
We can get path of windows director from the following
function call
Environment.SystemDirectory.Substring(0,
Environment.SystemDirectory.LastIndexOf("\\"))
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / anatoliy
Directory.GetParent(System.Environment.SystemDirectory);
| Is This Answer Correct ? | 2 Yes | 2 No |
What are managed providers?
What is short in c#?
Explain “static” keyword in c#?
Explain the difference between user control and custom control. Also, explain their use.
What is difference between for and foreach in c#?
Define a jagged array in c#?
How do you concatenate in c#?
Explain About .Net remoting
How a two-dimensional array declared in C#?
What is private and shared assembly?
What is a delegate how is it type safe?
Difference between value and reference type. What are value types and reference types?
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)