foreach loop for string[] in c# code example
Example: syntax foreach loop C#
foreach (type variableName in arrayName)
{
// code block to be executed
}
foreach (type variableName in arrayName)
{
// code block to be executed
}