What's the difference between catch {} and catch {continue;} in a c# foreach loop?
- by kingpoop
foreach (Widget item in items)
{
try
{
//do something...
}
catch { }
}
foreach (Widget item in items)
{
try
{
//do something...
}
catch { continue; }
}