getting file path c# code example Example: get documents path c# String path = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);