C# Foreach Loop Examples - C# Tutorial: Dot Net Perls
... { // Use a string array to loop over. string[] ferns = { "Psilotopsida", "Equisetopsida", "Marattiopsida" , "Polypodiopsida ... { // An unsorted string array. string[] letters = { "d", "c", "a", "b" }; // Use LINQ query syntax to sort the array alphab...