I'm learning new stuff every day...
Use F7 key for bringing up the code window in VB.NET 2005. F5 for running/testing/debugging the program.
#Region "Name of Region" for categorising your blocks of code into separate expandable & collapsible nodes.
Use For Each loops to run through lists or classes or dictionaries & the like.
Whenever a particular section of code keeps getting reused a considerable number of times, it warrants making it into a separate subprocedure or function of its own.
Put short comment lines into parts of conditional blocks of code where nothing is done/executed. This is for future purposes, to prevent you thinking it's an error of sorts & waste time tweaking the code unnecessarily.
Thursday, June 7, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment