c# Programming Glossary: discussed
Event Signature in .NET — Using a Strong Typed 'Sender'? http://stackoverflow.com/questions/1046016/event-signature-in-net-using-a-strong-typed-sender Other than this renaming I implemented it exactly as discussed above. It does trip over FxCop rule CA1009 which states By convention..
copy/paste event listener in C# http://stackoverflow.com/questions/1156975/copy-paste-event-listener-in-c-sharp here and an article here . As for the paste event as discussed in the above thread there seems to be some confusion as clipboard..
C# Language Speculation 4.5 / 5.0 [closed] http://stackoverflow.com/questions/1197709/c-sharp-language-speculation-4-5-5-0 to be a wishlist of features only items that have been discussed as possibly being implemented in the next version. I understand..
Checking for directory and file write permissions in .NET http://stackoverflow.com/questions/1281620/checking-for-directory-and-file-write-permissions-in-net .NET Developers Guide to Windows Security . This is also discussed in reasonable detail in his Programming Windows Security book...
Why choose a static class over a singleton implementation? http://stackoverflow.com/questions/1321352/why-choose-a-static-class-over-a-singleton-implementation implementation The Static Vs. Singleton question has been discussed before many times in SO. However all the answers pointed out..
Is there a C# generic constraint for “real number” types? [duplicate] http://stackoverflow.com/questions/1348594/is-there-a-c-sharp-generic-constraint-for-real-number-types was referring to in this interview where the issue is discussed. Personally I would still like to see some kind of base type..
Enumerating Collections that are not inherently IEnumerable? http://stackoverflow.com/questions/1815497/enumerating-collections-that-are-not-inherently-ienumerable post. Here's a much improved version using the technique discussed in All About Iterators . public static class Extensions public..
Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible? http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a Studio replaces that code automatically. The problem was discussed in Customize Windows Forms Designer to use MyResourceManager..
Compiler Ambiguous invocation error - anonymous method and method group with Func<> or Action http://stackoverflow.com/questions/2057146/compiler-ambiguous-invocation-error-anonymous-method-and-method-group-with-fun a method group to a compatible delegate type. I've already discussed how the word compatible is unfortunate here. Moving on. We are..
How to deal with XML in C# http://stackoverflow.com/questions/220867/how-to-deal-with-xml-in-c-sharp out this MSDN article that has many examples that I've discussed here and more. http msdn.microsoft.com en us library aa468556.aspx..
Automating the InvokeRequired code pattern http://stackoverflow.com/questions/2367718/automating-the-invokerequired-code-pattern true type shortcut. Previous answers have discussed the impracticality of just calling Invoke every time and even..
Breaking changes in .NET 4.0 http://stackoverflow.com/questions/2548106/breaking-changes-in-net-4-0 changes mentioned by Eric Lippert and events changes discussed by Chris Burrows. There are also some breaking changes around..
How are DLLs loaded by the CLR? http://stackoverflow.com/questions/2967164/how-are-dlls-loaded-by-the-clr policies and other configuration details all of which are discussed later in this chapter . The assembly resolver is exposed to..
How deterministic is floating point inaccuracy? http://stackoverflow.com/questions/328622/how-deterministic-is-floating-point-inaccuracy yes but apparently this isn't entirely clear cut as discussed in the comments for the selected answer. It looks like I will..
Does reflection breaks the idea of private methods, because private methods can be access outside of the class? http://stackoverflow.com/questions/3300680/does-reflection-breaks-the-idea-of-private-methods-because-private-methods-can what you mean by program security . Security cannot be discussed in a vacuum what resources are you thinking of protecting against..
Use XML includes or config references in app.config to include other config files' settings http://stackoverflow.com/questions/480538/use-xml-includes-or-config-references-in-app-config-to-include-other-config-file attribute in your own configuration sections. This will be discussed in a future installment of advanced configuration topics after..
Hosting external app in WPF window http://stackoverflow.com/questions/5028598/hosting-external-app-in-wpf-window approach is not to use HwndHost but WindowsFormHost as discussed here http social.msdn.microsoft.com Forums en US wpf thread..
Unity 2.0 and handling IDisposable types (especially with PerThreadLifetimeManager) http://stackoverflow.com/questions/5129789/unity-2-0-and-handling-idisposable-types-especially-with-perthreadlifetimemanag
Query extremely slow in code but fast in SSMS http://stackoverflow.com/questions/7637907/query-extremely-slow-in-code-but-fast-in-ssms issue with using Parameters.AddWithValue and has been discussed in many articles before eg. see How Data Access Code Affects..
Why is Multiple Inheritance not allowed in Java or C#? http://stackoverflow.com/questions/995255/why-is-multiple-inheritance-not-allowed-in-java-or-c But it can be implemented by using interfaces. Nothing is discussed about why it is not allowed. Can anybody tell me precisely why..
|