An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
It's wise to use assertion e.g.
string tosplitstring = "first:second:third";
var split = tosplitstring.Split(':');
if (split.Length >1)
{
var indexToFind = 2;
var items = split.Select((value, index) => new {Value = value, Index = index}).ToList();
var result = items.FirstOrDefault(x => x.Index == indexToFind);
Debug.WriteLine(result is not null ? result.Value : $"Failed to find {indexToFind}");
}