c# Programming Glossary: demonstrates
Illustrating usage of the volatile keyword in C# http://stackoverflow.com/questions/133270/illustrating-usage-of-the-volatile-keyword-in-c-sharp from wiki but with some changes for C#. The wiki article demonstrates this for static field of C it is looks like C# allways carefully..
Quality of a saved JPG in C# http://stackoverflow.com/questions/1484759/quality-of-a-saved-jpg-in-c-sharp share improve this question The following code example demonstrates how to create a EncoderParameter using the EncoderParameter..
TransactionScope automatically escalating to MSDTC on some machines? http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines 28VS.80 29.aspx read that code sample it clearly demonstrates a nested second connection to a second SQL server actually which..
Request Windows Vista UAC elevation if path is protected? http://stackoverflow.com/questions/17533/request-windows-vista-uac-elevation-if-path-is-protected of executing actions with an elevated process. It also demonstrates how to find out if a user is currently an administrator. share..
GUI and windows service communication http://stackoverflow.com/questions/1773046/gui-and-windows-service-communication this free video at dnrTV. It covers the purpose of WCF and demonstrates WCF programming through some easy to follow examples. If you..
How do I use LINQ Contains(string[]) instead of Contains(string) http://stackoverflow.com/questions/194930/how-do-i-use-linq-containsstring-instead-of-containsstring changed it around and wrote it for string as Mitch Wheat demonstrates then you'd just be able to skip the conversion step. ENDEDIT..
In what areas might the use of F# be more appropriate than C#? [closed] http://stackoverflow.com/questions/2785029/in-what-areas-might-the-use-of-f-be-more-appropriate-than-c the complexity at the heart of this application clearly demonstrates a sweet spot for the language within enterprise software namely..
Checking stack size in C# http://stackoverflow.com/questions/2901185/checking-stack-size-in-c-sharp give us an estimate of the available space. The code below demonstrates this by invoking a recursive function and writing out the remaining..
Discriminated union in C# http://stackoverflow.com/questions/3151702/discriminated-union-in-c-sharp when calling the Is and As functions as the following code demonstrates public void DoSomething if ValueA.Is string var s ValueA.As..
Global hotkey in console application http://stackoverflow.com/questions/3654787/global-hotkey-in-console-application the hotkey notification and raise an event. The code HERE demonstrates the principal. HERE is an article on handling messages in a..
A super-simple MVVM-Light WP7 sample? http://stackoverflow.com/questions/3655422/a-super-simple-mvvm-light-wp7-sample MVVM Light WP7 sample I am looking for a sample that demonstrates in the lightest way possible the following A Model that invokes..
Application.OpenForms.Count = 0 always http://stackoverflow.com/questions/3751554/application-openforms-count-0-always flags in the native CreateWindowEx call. This sample form demonstrates the bug public partial class Form1 Form public Form1 InitializeComponent..
Can't operator == be applied to generic types in C#? http://stackoverflow.com/questions/390900/cant-operator-be-applied-to-generic-types-in-c would use the overloaded version but the following test demonstrates otherwise. Interesting... I'd love to know why If someone knows..
Hosting external app in WPF window http://stackoverflow.com/questions/5028598/hosting-external-app-in-wpf-window automatic resize and the removal of the caption box. It demonstrates how to implicitely remove the control box the system menu as..
How to release the occupied memory http://stackoverflow.com/questions/5191897/how-to-release-the-occupied-memory Imports System.ComponentModel ' The following example demonstrates how to create ' a resource class that implements the IDisposable..
A reproducable example of volatile usage http://stackoverflow.com/questions/6164466/a-reproducable-example-of-volatile-usage prevent operations reordering I've also found a link that demonstrates an effect of volatile on the optimizer but it is different from.. but it is different from what I'm looking for. It demonstrates that requests to variable marked as volatile will not be optimized..
Which exceptions shouldn't I catch? http://stackoverflow.com/questions/7152354/which-exceptions-shouldnt-i-catch specific exception handlers. The following code example demonstrates incorrectly testing for special exceptions for the purposes..
How do I write a Parser in C#? http://stackoverflow.com/questions/7377344/how-do-i-write-a-parser-in-c on parsing in general is Let's Build a Compiler it demonstrates how to build a recursive descent parser and the concepts are..
Casting a result to float in method returning float changes result http://stackoverflow.com/questions/8795550/casting-a-result-to-float-in-method-returning-float-changes-result difference it does Excellent point. Your sample program demonstrates how small changes can cause large effects. You note that in..
|