c# Programming Glossary: definitely
Elevating process privilege programatically? http://stackoverflow.com/questions/133379/elevating-process-privilege-programatically
What strategies and tools are useful for finding memory leaks in .NET? http://stackoverflow.com/questions/134086/what-strategies-and-tools-are-useful-for-finding-memory-leaks-in-net shouldn't have to worry about such things when you very definitely do. One particular problem I find is that I have to explicitly..
switch / pattern matching idea http://stackoverflow.com/questions/156467/switch-pattern-matching-idea while I'm not likely to leap the fence any time soon it definitely highlights some areas where C# or library support could make..
Named string formatting in C# http://stackoverflow.com/questions/159017/named-string-formatting-in-c-sharp UPDATE I ended up doing something like this post but it's definitely not pretty. I'll try out John Sheehan's approach but if anybody..
C#: String.Equals vs. == [duplicate] http://stackoverflow.com/questions/1659097/c-string-equals-vs
C# okay with comparing value types to null http://stackoverflow.com/questions/1972262/c-sharp-okay-with-comparing-value-types-to-null ever possibly be null. Especially since this assignment definitely throws a compiler error Int32 x null Is it possible that x could..
Is there a better alternative than this to 'switch on type'? http://stackoverflow.com/questions/298976/is-there-a-better-alternative-than-this-to-switch-on-type share improve this question Switching on types is definitely lacking in C#. In order to do this without a large if else if..
What is the difference between i++ and ++i? http://stackoverflow.com/questions/3346450/what-is-the-difference-between-i-and-i like the other two answers don't spell it out and it's definitely worth saying i means 'tell me the value of i then increment'..
Localization of DisplayNameAttribute http://stackoverflow.com/questions/356464/localization-of-displaynameattribute However I lose strongly typed resource benefits which is definitely not a good thing. Then I came across DisplayNameResourceAttribute..
Good or bad practice for Dialogs in wpf with MVVM? http://stackoverflow.com/questions/3801681/good-or-bad-practice-for-dialogs-in-wpf-with-mvvm similar ones in the past. Go for it One minor thing I'd definitely do is make the event receive a boolean for when you need to..
Best practices for exception management in Java or C# http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp you should generally rethrow the exceptions. You should definitely not have a lot of try catch statements in your code. Again the..
Casting vs using the 'as' keyword in the CLR http://stackoverflow.com/questions/496096/casting-vs-using-the-as-keyword-in-the-clr fact there are situations in which the as plus null check definitely is slower. The above code actually makes the type check easy..
Use of Application.DoEvents() http://stackoverflow.com/questions/5181777/use-of-application-doevents exactly what it does which in the case of DoEvents is definitely not easy to grok. Right off the bat almost any Winforms program..
Read MS Exchange email in C# http://stackoverflow.com/questions/652549/read-ms-exchange-email-in-c-sharp server. If you can make 2007 a requirement this is definitely the way to go. Sadly for me my company has a but 2003 isn't..
Use of null check in event handler http://stackoverflow.com/questions/672638/use-of-null-check-in-event-handler you're right that you don't need the null check if you've definitely got a subscribed handler. This can easily be done in C# 2 with..
is “else if” faster than “switch() case”? [duplicate] http://stackoverflow.com/questions/767821/is-else-if-faster-than-switch-case the difference is small. If you have many items you should definitely use a switch. If a switch contains more than five items it's..
When should I use double instead of decimal? http://stackoverflow.com/questions/803225/when-should-i-use-double-instead-of-decimal as great precision someone correct me if I'm wrong and definitely greater speed for arbitrary real numbers. The simple conclusion..
How to write a scalable Tcp/Ip based server http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server have connected at any given time possibly hundreds . I definitely do not want to start a thread for each connection. Data will..
Why Interface Layer/Abstract classes required in our project? [closed] http://stackoverflow.com/questions/9702032/why-interface-layer-abstract-classes-required-in-our-project if not direcly solves most of this problems but definitely makes scallable your application and more resistant to changes..
Best Practices of Test Driven Development Using C# and RhinoMocks [closed] http://stackoverflow.com/questions/124210/best-practices-of-test-driven-development-using-c-sharp-and-rhinomocks testing tdd rhino mocks share improve this question Definitely a good list. Here are a few thoughts on it Write the test first..
What is a Managed Module (compared to an Assembly)? http://stackoverflow.com/questions/1326556/what-is-a-managed-module-compared-to-an-assembly Is a PE file eg. test.dll a managed module or an assembly Definitely a module. If it also has a manifest and no child modules it's..
Understanding Garbage Collection in .net http://stackoverflow.com/questions/17130382/understanding-garbage-collection-in-net do when the reference is part of an object on the GC heap. Definitely not easy to do when the object reference is stored in a CPU..
Recommend an Open Source .NET Barcode Reader Library [closed] http://stackoverflow.com/questions/191192/recommend-an-open-source-net-barcode-reader-library Kerschbaumer mentions in another answer to this question . Definitely keep an eye on that project It looks like a very robust solution...
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 the problem of how to properly dispose of COM objects. Definitely check beyond the first marked answer because the other answers..
Loading a file to a Bitmap but leaving the original file intact http://stackoverflow.com/questions/3386749/loading-a-file-to-a-bitmap-but-leaving-the-original-file-intact space and its not running on a 64 bit operating system. Definitely avoid doing this if the bitmap's Width x Height x 4 45 MB give..
No ItemChecked event in a CheckedListBox? http://stackoverflow.com/questions/4454058/no-itemchecked-event-in-a-checkedlistbox sure. CheckedListBox just isn't a very good control. Definitely not done by one of the gurus in the original Winforms team...
How to use multiple form elements in ASP.NET MVC http://stackoverflow.com/questions/5070399/how-to-use-multiple-form-elements-in-asp-net-mvc mvc asp.net mvc 3 razor share improve this question Definitely a job for an editor template. So in your view you put this single..
Should I catch exceptions only to log them? http://stackoverflow.com/questions/95547/should-i-catch-exceptions-only-to-log-them logging exception handling share improve this question Definitely not. You should find the correct place to handle the exception..
|