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 is string in c# net?
What is master page in asp net c#?
what is uniary operators and binary operators and what is the difference
What is the class in c#?
What is dataset c#?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
Why do we need indexers in c#?
What does Dispose method do with the connection object?
What is Event - Delegate?
Why References are stored on heap and variables on stack?
What are the namespace level elements?
Can multiple inheritance implemented in c# ?
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)