KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have the following array of strings: string[] stringArray = {"one", "two", "three", "four"}; Is there a way to get the first and last item ("one", "four") in C# from the array, besides using array indexing (stringArray[0], stringArray[3]), something like stringArray.First and stringArray.Last ?
Tags (comma-separated)
Save Edits
Cancel