It seems Microsoft has picked up on this as a similar example is now on MSDN:
More Related Contents:
- How to get ALL child controls of a Windows Forms form of a specific type (Button/Textbox)?
- How to write Unicode characters to the console?
- Understanding events and event handlers in C#
- .NET Global exception handler in console application
- Is it possible to write to the console in colour in .NET?
- With block equivalent in C#?
- How do I get a human-readable file size in bytes abbreviation using .NET?
- Using statement vs. IDisposable.Dispose()
- Difference with Parameters.Add and Parameters.AddWithValue
- How to flatten nested objects with linq expression
- WebBrowser.DrawToBitmap() or other methods?
- Is String a primitive type?
- Difference between Lookup() and Dictionary(Of list())
- GC.Collect()
- Install to same path when upgrading application
- Select either a file or folder from the same dialog in .NET
- Sorting an array of folder names like Windows Explorer (Numerically and Alphabetically) – VB.NET
- How does async works in C#?
- String.Format – how it works and how to implement custom formatstrings
- How is this possible: OnPaint processed while in WaitOne
- Return to an already open application when a user tries to open a new instance
- How can I clear event subscriptions in C#?
- Consume a SOAP web service without relying on the app.config
- How to check if the system audio is muted?
- Avoiding the woes of Invoke/BeginInvoke in cross-thread WinForm event handling?
- What steps do I need to take to use WCF Callbacks?
- Subscribe to INotifyPropertyChanged for nested (child) objects
- How to insert a Symbol (Pound, Euro, Copyright) into a Textbox
- Dynamically changing Textbox’s AutoComplete List causes AccessViolationException, any advice?
- As of today, what is the right way to work with COM objects? [duplicate]