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?s the difference between System.String and System.StringBuilder classes?
What are the security issues if we send a query from the application?
Is Facebook a desktop application?
How many types of constructors are there?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
What?s the difference between the Debug class and Trace class?
What does m mean in decimal c#?
What does the term immutable mean?
3 Answers Satyam, Siebel Systems, Techno Labs,
What is difference between assembly and dll?
Is post back in c#?
1.write a program in C# to find a given point which is inside in a circle. Given circle's radius and its center point? 2.Write a program in C# to generated 20 prime numbers greater than a given number? (It should be more efficient for large numbers also) 3. Write a Code to check whether a given point is inside a circle or not? given Circle's raduis and its center point. 4. using oops concept, design an elevator do not forget buttons on each floor..
Can you declare a class or a struct as constant?
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)