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 |
Explain nullable types in c#?
What are the benefits of using the aggregate method in linq?
What is difference between virtual and override in c#?
What is interface c#?
Explain the mechanism of VB.NET/C# achieve polymorphism?
How do you pronounce c#?
What is difference between array and arraylist c#?
How does bitwise work?
What is the use of console?
What is collection of classes in c#?
What is difference between static and readonly in c#?
What is an example of a delegate?
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)