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 |
If all code is written in a try block and write a catch block with Exception type Exception .In that scenario will all the exceptions catched by that catch block? or any exceptions which will not be caught?
Which sorting algorithm is best?
What do you mean by synchronous and asynchronous operations?
What is the difference between static class and abstract class in c#?
What is the use of iqueryable in c#?
What is a namespace server?
What you mean by delegate in c#?
What's the difference between System.String and System..StringBuilder in C#?
What is the signature of a method?
What is byte c#?
Can you specify an access modifier for an enumeration?
What is short circuit logical evaluation?