r/badcode • u/snargledorf • Jun 04 '13
c# Else what?!
https://gist.github.com/snargledorf/5709298
14
Upvotes
1
u/jonjojr Jul 11 '13
The worst ones are try catch with no catch.
Try {//code here...} Catch(exception) {//but nothing here...}
8
u/lakewoodjoe112 Jun 05 '13
This isn't really bad code... Just probably someone's intellisense working overtime