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 the contents of an assembly ?
What is Partial class? What purpose we use it?
What is a generic in c#?
List down the commonly used types of exceptions in .net
What is winforms c#?
Define a class and an object?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
What is ienumerable <> in c#?
How long will it take to learn c sharp?
What is exe in c#?
What is xaml in c#?
what are the differences b/w structure and class?