¡@

Home 

c# Programming Glossary: demonstrating

Event and delegate contravariance in .NET 4.0 and C# 4.0

http://stackoverflow.com/questions/1120688/event-and-delegate-contravariance-in-net-4-0-and-c-sharp-4-0

try to combine them. Here's a short but complete program demonstrating the problem in two different ways using System class Program..

C# How to find if an event is hooked up

http://stackoverflow.com/questions/1129517/c-sharp-how-to-find-if-an-event-is-hooked-up

the event's default implementation Here is an example demonstrating the latter technique. class MyType internal EventHandler int..

SynchronizationContext.Current is null in Continuation on the main UI thread

http://stackoverflow.com/questions/11621372/synchronizationcontext-current-is-null-in-continuation-on-the-main-ui-thread

. Here's the Winforms code demonstrating the issue using System using System.Threading using System.Threading.Tasks..

Integer handled as reference type when passed into a delegate

http://stackoverflow.com/questions/15302801/integer-handled-as-reference-type-when-passed-into-a-delegate

isn't it out of scope . Well no it's not. What this is demonstrating is a closure . When an anonymous method reference a variable..

Good introduction to the .NET Reactive Framework [closed]

http://stackoverflow.com/questions/1596158/good-introduction-to-the-net-reactive-framework

question Here's a wiki site with lots of code examples demonstrating how to use different features of the .NET Rx framework http..

Need help with creating PDF from HTML using itextsharp

http://stackoverflow.com/questions/2593116/need-help-with-creating-pdf-from-html-using-itextsharp

method to create a PDF based on html. Here's a snippet demonstrating this Document document new Document PageSize.A4 80 50 30 65..

Why does C# XmlDocument.LoadXml(string) fail when an XML header is included?

http://stackoverflow.com/questions/310669/why-does-c-sharp-xmldocument-loadxmlstring-fail-when-an-xml-header-is-included

one of the XmlDocument.Load methods . Below is sample code demonstrating how to use a MemoryStream to build an XmlDocument using a string..

Draw Custom Buttons on Windows Vista/7 Aero Titlebar

http://stackoverflow.com/questions/4117874/draw-custom-buttons-on-windows-vista-7-aero-titlebar

ones. Update Here is a screenshot from my computer demonstrating the above concept. I got the additional titlebar buttons after..

How do I suspend painting for a control and its children?

http://stackoverflow.com/questions/487661/how-do-i-suspend-painting-for-a-control-and-its-children

parent containing panel. This is a very very simple class demonstrating how to use this message class DrawingControl DllImport user32.dll..

How do I make a WPF window movable by dragging the extended window frame?

http://stackoverflow.com/questions/5493149/how-do-i-make-a-wpf-window-movable-by-dragging-the-extended-window-frame

this morning I was prompted to make a working sample app demonstrating this very functionality. I've done that now you can find it..

How to parse a text file in C# and be io bound?

http://stackoverflow.com/questions/7153315/how-to-parse-a-text-file-in-c-sharp-and-be-io-bound

single buffer on the heap. WARNING You need to realize I'm demonstrating that it can be done fast. I'm not advising you to go down this..

Operator Overloading with Interface-Based Programming in C#

http://stackoverflow.com/questions/728434/operator-overloading-with-interface-based-programming-in-c-sharp

implementation on an interface See Code and Output below demonstrating the issue. Question How do you provide proper operator overloads..

Is this a valid usage of ServiceStack Redis?

http://stackoverflow.com/questions/8094162/is-this-a-valid-usage-of-servicestack-redis

of data which is exactly what I want when I'm building demonstrating the basic blocks of my application. foreach var person in MyApp.Persons..

Best practice for saving sensitive data in Windows 8

http://stackoverflow.com/questions/9052482/best-practice-for-saving-sensitive-data-in-windows-8

which includes code demonstrating this. Win8 has a new API called PasswordVault that's designed..