Skip Navigation LinksHome : Submit Snippet : Snippet Search : Author Submissions
Author Submissions for gcsteam:
Microsoft MVP
DetailsLanguageAbstract
Create Text File and Write Text C# This C# code snippet creates a new text file in the file system and adds text into it. The File Name and two (2) text items can be changed by the user.
Singleton C# we all aware of Singleton class and very frequently we are using in our projects.This custom snippet helps to define a Singletone class.
event C# creates a 2.0 event, including the EventArgs subclass (since usually EventArgs isn't enough, you want to add more information) and declaration of the event using EventHandler<SubclassOfEventArgs> as per the 2.0 design guidelines to use EventHandler<T>
tw C# Expand Trace.WriteLine();
dw C# Expand Debug.WriteLine();
da C# Expand Debug.Assert();
ane C# Test for null parameter
Replace Last Occurence of a String Visual Basic Replace last string Please see Francesco's article: http://www.devx.com/dotnet/Article/28997
WSDL Definitions XML Please see Jeffrey's blog for more information: http://pluralsight.com/blogs/jeffsch/archive/2005/06/23/11754.aspx
Async Amazon Item Search Request Visual Basic How to create and process an async web method call using the 'ItemSearch' method of the Amazon e-commerce service
Property with Value C# Extension of default prop snippet, but this one allows for a default value. Shortcut name: propv Language: C#
event C# Code snippet for an event and the associated On<EventName> method.
fun C# This snippet creates a function in a class.
met C# This snippet creates a method in a class.
npropg C# Late-binding getter only property store. Constructs a type using an empty constructore if the backing property is null.
cprop C# Component property that builds out an On[PropName]Changed event along with the property and backing store.
Connection C# Snippet for database connections.