foreach (var fine in fines) visits every item of an array or list, in order, with no index to get wrong. Use for (int i = 0; i < items.Length; i++) when you need the position, or when you compare neighbors. Arrays have Length; lists have Count. The last index is one less than either, which is where off-by-one bugs live.
while (condition) repeats until the condition is false, so something in the body must change it, or the loop never ends. break leaves the loop at once; continue skips to the next pass.
You cannot add to or remove from a list while a foreach walks it: .NET throws InvalidOperationException. Loop over a copy, or collect the changes and apply them after the loop.
foreach for every item, for when the position matters, and break to stop at the first match.