Corresponde ao último item

Retorne true quando a string final de um array for igual a todas as strings anteriores concatenadas em ordem.

Exemplos

Program.MatchLastItem(new[] { "i", "love", "tesh", "ilovetesh" }) ➞ true

Program.MatchLastItem(new[] { "1", "1", "1", "11" }) ➞ false