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 about c# language.
What is a singleton unity?
What is the example of predicate?
What is value type and reference type?
What are some of the commonly used commands in sqlcommand?
What are the applications of c#?
What?s the difference between System.String and System.StringBuilder classes?
What is a bool in c#?
What is class method c#?
Why is c# a good programming language?
What is boolean conditions in c#?
Define an assembly in .net?