Nice Clean Example

Dot Net Platform General

This contains samples that are general to the platform whether its a Web application, desktop program or service. Its a place that will contain the 'what is the syntax of ...' kinds of examples.

 
Using the browser to transform XML through XSLT
Although there are classes for doing XSLT transforms the browser can also do a fine job of doing the transform, as shown in this example. By sending XML data to the browser with a link to the stylesheet you can let the browser do the transformation work. The key is the url of the stylesheet in the XML data.
Use XSLT as a template for code generation
XSLT is frequently used to generate HTML or XML, but it can also be used to generate text output. The data layer that I use for my web applications has an XSLT template to generate class wrappers for the database tables. There are other tools that can do this, of course, but XSLT is available on every platform and lends itself well to being part of a transformation process. This sample has XML input that might have come from a schema definition and shows how to generate a simple C# class wrapper for a table.
Basic and simple XSLT Transforms
XSLT is a very powerful tool in the programmer's toolkit. However, if you don't use it very often the precise and demanding syntax is easily forgotten. This sample is a quickstart refresher course for basic and simple XSLT 101, demonstrating the objects used as well as the most common transforms. Once you get back up to speed its easier to RTFM to get to the more advanced features.
DLL Dump -- Using Reflection to explore a DLL
This is a program which uses Reflection to read the contents of a DLL and display its methods and properties. It can also perform a disassembly. The DLLWrapper class is designed to be a base on which to develop other applications. You could use this, for instance, to get a list of all methods or properties that are in a dll.
Make a class sortable through IComparable
Interface definition and example