EvilRob.org -> Weblog

Sysadmin Field Notes

C# Regions and Refactoring

February 13, 2006

Just in case anyone is curious, if you have some gnarly, 500 line long method with 7-8 levels of nested if/then/try/catch/for/while blocks, then hiding 25 line chunks that are the last 2-3 nested block levels behind a c# region is not generally considered refactoring.

Posted by rmeyer at 7:50 AM

This is Rob Meyer's weblog, a weblog focused on software development and system administration based on 10 years of experience. Want to explore further? You can find out more me or see the rest of my website.

Wondering if I've written on something in particular? Try searching:

You might want to take a look at some of the more requested postings (as judged by incoming traffic):

Want more? Subscribe to this site or contact me at rob at big dis dot com.

See my writings on:


Powered by Movable Type | Technorati Profile