I look at the String.Split() method in MSDN which is different from the above. can someone help to explain how this works?
string boundary = resp.Headers["Content-Type"].Split('=')[1];
What is that [1] beside the .Split('=')[1] means?
String.Split returns an array.
Writing x[1], where x is an array, gets the 2nd element in the array.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With