Like the title says, how do you create custom code snippets in Visual Studio 2008?
See official write-up here:
http://msdn.microsoft.com/en-us/library/ms165392.aspx