I stumbled over this piece of code:
public IEnumerable<object> Process()
{
foreach (var item in items)
{
if (item.Created < DateTime.Now)
{
yield return item;
continue;
}
}
}
Can someone help me out understanding why continue
isn't needless in this case (VS does not mark continue
as a Redundant control flow jump statement)?