class Program { static void Main()
{ // Use a string array to loop over.
string[] ferns = { "Psilotopsida", "Equisetopsida", "Marattiopsida", "Polypodiopsida" };
// Loop with the foreach keyword.
foreach (string value in ferns)
{ Console.WriteLine(value); } } }
if ferns is array which hold string
what is value in this
and what is relation of String With ferns.
please explain me foreach statement