c# Programming Glossary: opportunity
Why does closing a console that was started with AllocConsole cause my whole application to exit? Can I change this behavior? http://stackoverflow.com/questions/11959643/why-does-closing-a-console-that-was-started-with-allocconsole-cause-my-whole-app off or shuts down the system so that the process has an opportunity to clean up before termination. Console functions or any C run..
Alternatives to System.Drawing for use with ASP.NET? http://stackoverflow.com/questions/1528525/alternatives-to-system-drawing-for-use-with-asp-net
C# UserControl Constructor with Parameters http://stackoverflow.com/questions/1784303/c-sharp-usercontrol-constructor-with-parameters and BrowsableAttribute give you the opportunity to provide a rich client experience with minimal effort. This..
Reading large text files with streams in C# http://stackoverflow.com/questions/2161895/reading-large-text-files-with-streams-in-c-sharp consumer task that did the searching. I used this as an opportunity to learn TPL Dataflow which is very well suited for quickly..
Is the C# compiler smart enough to optimize this code? http://stackoverflow.com/questions/2162541/is-the-c-sharp-compiler-smart-enough-to-optimize-this-code jitted code in the debugger. And finally let me take this opportunity to note that computing results once storing the result and re..
Why IEnumerator of T inherts from IDisposable, but non-generic IEnumerator does NOT? http://stackoverflow.com/questions/232558/why-ienumerator-of-t-inherts-from-idisposable-but-non-generic-ienumerator-does When C# 2.0 and .NET 2.0 came out however they had a fresh opportunity new interface new inheritance. It makes much more sense to have..
Method Overloading. Can you overuse it? http://stackoverflow.com/questions/248222/method-overloading-can-you-overuse-it int departmentId There is also the opportunity to introduce overloading for each purpose Examples for GetEmployees..
Winforms vs WPF http://stackoverflow.com/questions/2703681/winforms-vs-wpf am a student and I do freelance here and there when I have opportunity. I believe my strongest language is C#. I don't really know..
Does *every* Excel interop object need to be released using Marshal.ReleaseComObject? http://stackoverflow.com/questions/2926205/does-every-excel-interop-object-need-to-be-released-using-marshal-releasecomob to release every single com object I create. I took the opportunity to build a ComObjectManager class to make it a little easier..
Cursor.Current vs. this.Cursor http://stackoverflow.com/questions/302663/cursor-current-vs-this-cursor the mouse cursor the WM_SETCURSOR message giving it an opportunity to change the cursor shape. A control like TextBox takes advantage..
How To Represent 0.1 In Floating Point Arithmetic And Decimal http://stackoverflow.com/questions/3448777/how-to-represent-0-1-in-floating-point-arithmetic-and-decimal 0.1 exactly as an IEEE754 float and provides so much opportunity on SO for people answering why doesn't 0.1 0.1 0.1 0.3 type..
How can I add my attributes to Code-Generated Linq2Sql classes properties? http://stackoverflow.com/questions/393687/how-can-i-add-my-attributes-to-code-generated-linq2sql-classes-properties properties here's where we have an opportunity to swap add remove properties at runtime we'll swap them for..
Why must a lambda expression be cast when supplied as a plain Delegate parameter http://stackoverflow.com/questions/411579/why-must-a-lambda-expression-be-cast-when-supplied-as-a-plain-delegate-parameter but that's rarely useful and you end up with less opportunity for error checking. If you want to make it easy to call Control.Invoke..
Why aren't C# static class extension methods supported? http://stackoverflow.com/questions/4909156/why-arent-c-sharp-static-class-extension-methods-supported must not only justify their own cost they must justify the opportunity cost of not doing the hundred other features we could have done..
Should we select VB.NET or C# when upgrading our legacy applications? [closed] http://stackoverflow.com/questions/507291/should-we-select-vb-net-or-c-sharp-when-upgrading-our-legacy-applications is which language would you go with if you had the opportunity to make a clean break from Visual Basic 6.0 and move to .NET..
How to release the occupied memory http://stackoverflow.com/questions/5191897/how-to-release-the-occupied-memory ' does not get called. ' It gives your base class the opportunity to finalize. ' Do not provide finalize methods in types derived..
Very slow compile times on Visual Studio 2005 http://stackoverflow.com/questions/55517/very-slow-compile-times-on-visual-studio-2005 nice as we like the separation of concerns but is a good opportunity to refactor away some dead wood . We are also looking at having..
A reproducable example of volatile usage http://stackoverflow.com/questions/6164466/a-reproducable-example-of-volatile-usage about it pdf . It dates from 2008 a good 30 years of opportunity to get it right. Or wrong this goes belly up when the code optimizer..
|