c# Programming Glossary: excellent
How to read a CSV file into a .NET Datatable http://stackoverflow.com/questions/1050112/how-to-read-a-csv-file-into-a-net-datatable csv datatable share improve this question Here's an excellent class that will copy CSV data into a datatable using the structure..
Multiple Aggregates / Repositories in one Transaction http://stackoverflow.com/questions/11445657/multiple-aggregates-repositories-in-one-transaction reduces concurrency collisions. Vaughn Vernon has done an excellent job explaining this in his 3 part article. However this is just..
Open link in new TAB (WebBrowser Control) http://stackoverflow.com/questions/1286746/open-link-in-new-tab-webbrowser-control tabs . This has been done before and Mauricio Rojas has an excellent example with a complete working class ExtendedWebBrowser http..
Design - Where should objects be registered when using Windsor http://stackoverflow.com/questions/1410719/design-where-should-objects-be-registered-when-using-windsor application a so called Humble Executable a term from the excellent xUnit Test Patterns that doesn't need unit testing in itself...
C# Interfaces. Implicit implementation versus Explicit implementation http://stackoverflow.com/questions/143405/c-sharp-interfaces-implicit-implementation-versus-explicit-implementation
Alternatives to System.Drawing for use with ASP.NET? http://stackoverflow.com/questions/1528525/alternatives-to-system-drawing-for-use-with-asp-net share improve this question There is an excellent blog post including C# code about using the ImageMagick graphics..
switch / pattern matching idea http://stackoverflow.com/questions/156467/switch-pattern-matching-idea statement share improve this question Bart De Smet's excellent blog has an 8 part series on doing exactly what you describe...
Weak event handler model for use with lambdas http://stackoverflow.com/questions/1747235/weak-event-handler-model-for-use-with-lambdas subscriber action The detail My starting point was Egor 's excellent answer see link for version with comments public static void..
When to Use Static Classes in C# http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp utility classes that do not pose any risk to bloat are excellent cases for static methods System.Convert as an example. If your..
Checking for null before event dispatching… thread safe? http://stackoverflow.com/questions/282653/checking-for-null-before-event-dispatching-thread-safe invoke code that cannot run properly. See Eric Lippert's excellent blog entry for more details. Also see this StackOverflow question..
What static analysis tools are available for C#? [closed] http://stackoverflow.com/questions/38635/what-static-analysis-tools-are-available-for-c this question Code violation detection Tools Fxcop excellent tool by Microsoft. Check compliance with .net framework guidelines...
Best practices for exception management in Java or C# http://stackoverflow.com/questions/409563/best-practices-for-exception-management-in-java-or-c-sharp Follow Up Edit Thanks for all the feedback found some excellent sources on exception management online Best Practices for Exception..
GetHashCode Guidelines in C# http://stackoverflow.com/questions/462451/gethashcode-guidelines-in-c-sharp the butt. Update Eric Lippert has posted a blog that gives excellent information on GetHashCode . Additional Update I've made a couple..
Main method code entirely inside try/catch: Is it bad practice? http://stackoverflow.com/questions/4827628/main-method-code-entirely-inside-try-catch-is-it-bad-practice EDIT As I was catching up on my reading of Raymond Chen's excellent blog The Old New Thing I noticed that he had recently published..
LINQ Select Distinct with Anonymous Types http://stackoverflow.com/questions/543482/linq-select-distinct-with-anonymous-types this question Have a read through K. Scott Allen's excellent post here And Equality for All ... Anonymous Types The short..
Getting path relative to the current working directory? http://stackoverflow.com/questions/703281/getting-path-relative-to-the-current-working-directory and this may save others some typing your example was excellent so no point adding another answer based on it HiTech Magic ..
How To Detect If Type is Another Generic Type http://stackoverflow.com/questions/74616/how-to-detect-if-type-is-another-generic-type only . Do not use it . Instead James has provided an excellent correct implementation in his answer. public static bool IsAssignableToGenericType..
Programming P2P application http://stackoverflow.com/questions/8523330/programming-p2p-application ICE is a formal protocol for steps 1 5 above. Two excellent set of slides on ICE are here and here . UPNP Internet Gateway..
Try-catch speeding up my code? http://stackoverflow.com/questions/8928403/try-catch-speeding-up-my-code ran the EXE file outside Visual Studio . EDIT Jon Skeet's excellent analysis shows that try catch is somehow causing the x86 CLR..
Does Stream.Dispose always call Stream.Close (and Stream.Flush) http://stackoverflow.com/questions/911408/does-stream-dispose-always-call-stream-close-and-stream-flush dealing with objects that implement IDispose. . . . more excellent information in the accepted answer to this question Close and..
|