VB.NET Code - Do you know not to put Exit Sub before End Sub?
Updated by Brady Stroud [SSW] 1 year ago. See history
123
<introEmbed
body={<>
This is often a bad practice if you already are ending Sub you don't need another line.
</>}
/>
Sub MySub...End SubExit sub
❌ Figure: Figure: Bad example
Sub MySub...End sub
✅ Figure: Figure: Good example
Categories
Related rules
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.