Bill McCarthy speaketh the truth.

The old rule of thumb is that if you can't fit a method in one page without
scrolling, then you should consider re-factoring.
That said, I think a lot of us are guilty of breaking this rule on occasion.


On Thu, Dec 23, 2010 at 2:51 PM, Bill McCarthy <
[email protected]> wrote:

> No. In VB you can't have regions inside a method.
> I think if your code inside a method is that large you should consider
> refactoring it out anyway ;)
>
> |-----Original Message-----
> |From: [email protected] [mailto:ozdotnet-
> |[email protected]] On Behalf Of Anthony
> |Sent: Thursday, 23 December 2010 5:26 PM
> |To: 'ozDotNet'
> |Subject: Code Folding in VS 2010
> |
> |Is it possible to do code folding within code..how do i do this?
> |
> |
> |#Region doesn't  work within a function etc
> |
> |
> |Anthony
>
>
>

Reply via email to