|
-
July 20th, 2005, 01:06 PM
#10
Re: public variable not accessible, why??
You really don't want to start messing around with static members in the end you will end up with more problems than you will solve.
As for saving memory this is false, it will not matter if you create the object or the compiler reserves the memory for you. In the latter case the GC will not be able to free the memory when you are done with it, so where is the savings?
If you are really concerned with saving memory why are you using C#?
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
|