title: c# opening up Picture folder
body: <p><em>Today is my first day at learning C#, or any programming language so sorry if I get some terms wrong</em></p>
  
  <p>I have a way of doing this but not the way I'd like and want to know if there's a better solution. Aim is, on my C# program, when you click a button, it opens up the Picture folder. </p>
  
  <p>I use the following code to do so:</p>
  
  <pre><code>private void picBox_Click(object sender, EventArgs e)
  {
      Process.Start("explorer.exe", @"C:\Users\MYUSERNAME\Pictures");
  }
  </code></pre>
  
  <p>The code works however where MYUSERNAME is, that is fixed. What if I was to run the program on another machine account where the username is different. Is there a way to auto detect the name?</p>