Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How you will connect to windows directory in c#?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About namespaces

932


What is static void main in c#?

941


Is arraylist thread safe?

839


What is multithreading? What are the problems that comes with multithreading and how to manage them?

920


Can we declare class as protected?

924


What is the purpose of static?

927


What is an example of delegation?

863


Is it good to use var in c#?

812


Is array reference type in c#?

848


How long does it take to learn c# for unity?

847


What is difference between for and foreach loop in c#?

946


What is c# used for?

978


How does the lifecycle of Windows services differ from Standard EXE?

962


What are the benefits of using the aggregate method in linq?

938


What does the initial catalog parameter define in the connection string?

871