title: C# array get last item from split in one line
body: <p>I know that this works to get the first item of an array</p>
  
  <pre><code>string aString = @"hello/all\this\is/a\test";
  string firstItemOfSplit = aString.Split(new char[] {'\\', '/'})[0];
  //firstItemOfSplit = hello
  </code></pre>
  
  <p>is there a way to get the last item? Something like</p>
  
  <pre><code>string aString = @"hello/all\this\is/a\test";
  string lastItemOfSplit = aString.Split(new char[] {'\\', '/'})[index.last];
  //lastItemOfSplit = test
  </code></pre>