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 scriptable objects?
What are the benefits of using generics?
What does it meant to say “the canonical” form of XML ?
Why constructor is used in c#?
can you allow a class to be inherited, but prevent the method from being over-ridden?
Explain the different ways a method can be overloaded?
What is icollection in c#?
What is difference between dictionary and hashtable?
How do I count the length of a string in c#?
What is a .aspx file?
What is iqueryable in linq?
Why do we use dataset in c#?