Almost got Name Buddy in C# but can't pass 5
namespace Sololearn { class Program { static void Main(string[] args) { string[] team = Console.ReadLine().Split(' '); string name = Console.ReadLine(); int i = 0; string named = " "; while (i < team.Length) { named = team[i]; i++; } if (name[0].Equals(named[0])) { Console.WriteLine("Compare notes"); } else { Console.WriteLine("No such luck"); } } } } It passes all the cases except number 5, which I can't see, so I'm not sure what its doing wrong or how to diagnose it. If anyone could help I'd appreciate it. I hate not being able to see all the cases. Also, is there a better/quicker way to do this?