string[] names = { "Gaddafi", "Ben", "Diana" }; 
foreach (string name in names) 
{ 
Console.WriteLine($"{name} has {name.Length} characters."); 
}