Recent snippets

Popular snippets

  • Dynamic operator using Reflection

    Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.

    73 people like this

    Posted: 14 years ago by Tomas Petricek

  • Largest Palindrome Number from Product of Two Three Digit Numbers

    Here is an improved version twice shorter, than original

    72 people like this

    Posted: 15 years ago by Nick Canzoneri

  • ObservableObject

    The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.

    67 people like this

    Posted: 14 years ago by Phillip Trelford

Snippets by tags

sequences (48) collections (16) sequence (32) silverlight (22) agent (20) html (16) math (35) lazy (20) monad (24) web (29) fold (22) dsl (23) http (18) reflection (19) mailboxprocessor (27) f# (43) generic programming (17) json (16) algorithms (26) pattern matching (15)

View all...

Database contains 3207 snippets out of which 1719 is public.