|
-
April 13th, 2010, 11:52 AM
#9
Re: Visual c# - same code four times, one time is enough?
 Originally Posted by vcdebugger
declare those variables as global variables outside your functions one time... and use them in your function
There may be no reason to do this, and then you will just have the added problem of managing global state. We need more info from the OP.
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
|