I have another saying, if it doesn't fit on one page; zoom out using the new 
zoom feature of VS 2010. :)

From: [email protected] [mailto:[email protected]] On 
Behalf Of Nathan Schultz
Sent: Wednesday, December 22, 2010 11:14 PM
To: ozDotNet
Subject: Re: Code Folding in VS 2010

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]<mailto:[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:[email protected]> 
[mailto:ozdotnet-<mailto:ozdotnet->
|[email protected]<mailto:[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