Is an empty catch the same as "catch Exception" in a try-catch statement?

Viewed 6227
try {
}
catch (Exception) {
}

can I just write

try {
}
catch {
}

Is this ok in C# .NET 3.5? The code looks nicer, but I don't know if it's the same.

8 Answers
Related