...ok I didn't see that, but in my defense; in what world does Alt+S serve as a shortcut to confirm an action such as posting a reply? TAB order is the universally accepted way to traverse controls....
Wow, I can honestly say I have never seen the full page add before. Perhaps it is because I was almost never logged out previously and have been automatically logged out three or four times since...
So, before I start, I want you guys to know that I (we) appreciate your hard work and I don't mean to crap on it here, but as you know, people get vocal about things they dislike far more often than...
The algorithm is slow because it has O(n^2) complexity in time, not because you used a for loop instead of a foreach. Again, testing an empty loop makes no sense since it will be optimized away. If...
1. Show your compiler options or it didn't happen.
2. The first time your code runs it needs to be compiled by the JIT compiler, so you need to run a large number...
But it won't be cleaned up by the GC because there is a valid reference to the object in the list. There is no other way; you would have to manually manage the list of objects (and you're probably...
The problem here would be stale references. You would need to make sure that objcts which are no longer needed are cleared from the list or they will *never* be GC'd.
Next, stop testing equality between floating point numbers like that (in general). What every computer scientist should know about floating point numbers
Useless posts are, well, useless. Instead of editing out relevant information, leave the question and post the answer so that you may help people in the future. This is a forum after all.
No, it doesn't. It suspends the thread it was called on, no others. You need to remove that Sleep. However, if your program simply exits if you remove the sleep.... then I am perplexed as to why...
Well yes, but there are strict rules as to when and how they may be used, so while the syntax is the same as C++, the semantics are not, and their use case is very narrow and rare in C#.