how to get user directory path in c# code example Example: c# get user directory Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);