I have a slight problem with this code:
string[] sWords = {"Word 1", "Word2"}
foreach (string sWord in sWords)
{
Console.WriteLine(sWord);
}
This works fine if I want every object to print.
I was wondering if I could exclude the first item in the array? So it would only output "Word 2". I know the obvious solution is not to include the first item but in this case I can't.