Browse by Tags

Tagged Content List
  • Blog Post: F# String extension methods rather than using RegEx

    In my previous post I talked about some extension methods for string checking: http://blogs.msdn.com/b/carlnol/archive/2011/10/19/string-extension-methods-rather-than-using-regex.aspx But what would be a post if there was not a F# equivalent. Interestingly the ability to perform checks on each character...
  • Blog Post: String extension methods rather than using RegEx

    In a recent project I was using regular expressions a lot for validating string expressions such that statements like the following were true: Must be all characters Must be all alphanumeric’s and be of length 6 Must be all numeric digits (e.g. “3648”) Must be all upper...
  • Blog Post: LINQ Distinct: IEqualityComparer and Func extension method Implementations

    As you may know when working with LINQ there is a method that allows one to return distinct elements from a sequence. Two prototypes are supported: Distinct<TSource>(IEqualityComparer<TSource>) Distinct() Unlike most sequence operations that take some form of a Func parameter, the...
Page 1 of 1 (3 items)