c# Programming Glossary: deciding
How much more expensive is an Exception than a return value? http://stackoverflow.com/questions/1282252/how-much-more-expensive-is-an-exception-than-a-return-value hard to say how much more expensive an exception is. When deciding on a return value vs. an exception you should always consider..
How do I spawn threads on different CPU cores? http://stackoverflow.com/questions/32343/how-do-i-spawn-threads-on-different-cpu-cores get freed. In that way the framework is in charge on deciding wether it should create more threads or not depending on the..
Why doesn't .NET have a SoftReference as well as a WeakReference, like Java? http://stackoverflow.com/questions/324633/why-doesnt-net-have-a-softreference-as-well-as-a-weakreference-like-java which the GC has a different behaviour algorithm for when deciding if that object gets the chop. I am thinking of subclassing .NET's..
Should I use struct or class? http://stackoverflow.com/questions/3872816/should-i-use-struct-or-class are What other considerations should I weigh in when deciding if I should go value or reference Can overloading in a class..
Best practices for exception management in Java or C# http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp for exception management in Java or C# I'm stuck deciding how to handle exceptions in my application. Much if my issues..
using static Regex.IsMatch vs creating an instance of Regex http://stackoverflow.com/questions/414328/using-static-regex-ismatch-vs-creating-an-instance-of-regex compiled instance. You should definitely profile before deciding. The cost of compiling a regular expression object is quite..
How do I read incoming mail using C# http://stackoverflow.com/questions/4614837/how-do-i-read-incoming-mail-using-c-sharp of alternative free IMAP libraries I considered before deciding to spend the money on MailBee ImapX http hellowebapps.com products..
How do you pass an object from form1 to form2 and back to form1? http://stackoverflow.com/questions/4887820/how-do-you-pass-an-object-from-form1-to-form2-and-back-to-form1 form1 I have done some research on this question before deciding to ask it. I just could not find anything that helped me. I..
Data cache vs session object in ASP.Net http://stackoverflow.com/questions/492043/data-cache-vs-session-object-in-asp-net in process session itself is stored in the cache so the deciding factor really should be the scope of the data. share improve..
C# Compiler optimization - Unused methods http://stackoverflow.com/questions/5204667/c-sharp-compiler-optimization-unused-methods while compiling I assume that it may have a problem deciding if public methods will ever be used so I guess it will compile..
Is C# really slower than say C++? http://stackoverflow.com/questions/5326269/is-c-sharp-really-slower-than-say-c as well. Most of these benchmarks are a bit like teenagers deciding to race their cars and whoever wins gets to keep both cars...
When should I choose inheritance over an interface when designing C# class libraries? http://stackoverflow.com/questions/5816563/when-should-i-choose-inheritance-over-an-interface-when-designing-c-sharp-class I should be cognicent or cognizant for you USsers of when deciding if they should all inherit from BaseProcessor or implement IProcessor..
Performing Inserts and Updates with Dapper http://stackoverflow.com/questions/5957774/performing-inserts-and-updates-with-dapper question We are looking at building a few helpers still deciding on APIs and if this goes in core or not. See http code.google.com..
Convention question: When do you use a Getter/Setter function rather than using a Property http://stackoverflow.com/questions/67063/convention-question-when-do-you-use-a-getter-setter-function-rather-than-using also recommend using methods for returning arrays. When deciding whether to use a property or method it helps if I think of it..
Interfaces vs. abstract classes [duplicate] http://stackoverflow.com/questions/747517/interfaces-vs-abstract-classes and when to use Abstract Classes what can be the deciding factor. c# inheritance interface abstract class share improve..
make the full circular path, shortest path exercise? http://stackoverflow.com/questions/8135545/make-the-full-circular-path-shortest-path-exercise answer. Edit As per @Vash's answer As an improvement when deciding where to start discount stations that don't have enough gas..
Web Forms Tabular Control for this Scenario http://stackoverflow.com/questions/9771381/web-forms-tabular-control-for-this-scenario control over the service Now I have full flexibility of deciding the behavior so long as the performance is good. Requirements..
|