|
-
Oct 24th, 2002, 05:15 PM
#1
variable declaration....where should I declare them?
I've been declaring all of my variables on the top part of my class. I'm just wondering if it's a bad practice to declare some of the variables in the middle of the class?
Some of the variables in my class are only used for a few functions. Is it bad to group all the functions and those variables in a region? or should I declare all the variables in the class in one place? (I know it doesnt make a difference in functionality of the app, but I'm just wondering if it's considered a "bad habit" or not )
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|