Extension method for null handling stringsNothing worse than trying to save a null to a string field! more Extension method for null handling integersCheck if an expected integer is null or a passed in value more Extension method for null handling DoublesCheck if an expected double is null or a passed in value more Keyword extension methodCreate a string of unique words for searches more Get physical path to a fileSample Extension Method to extend filepaths more Extension method for DateTime.TryParseExtension method to wrap DateTime more Count the number of words in a stringExtension method to get a word count more Extension method to TrimstringTrim a string to length more Extension Method for LINQ OrderByExtend LINQ OrderBy so you can pass in parameters dynamically in Method synta more SEO friendly URL's made easyYou'll find a lot of other posts on other sites detailing how to create SEO friendly URL's - I'... more Extension method for conditional lambda expressionsA solution various conditional lambda expressions without breaking the flow of the expression more Calculate how old a date isNeed to work out the lapsed time in years between a date and now? try this more Encode safe string for JavaScriptCode for a convenient way to encode a string safe for javascript i more Decode String from HTMLExtension method for decoding HTML - extension for HttpUtility more Convert lapsed date interval to wordsGet a human readable representation of time lapseds e more Using PredicateBuilder for an OR searchSample code using PredicateBuilder to do an OR search using LINQpad more PredicateBuilder usuage with LINQPadCode to run directly in LINQPad demonstrating PredicateBuilder usuage with Northwind's Categories table more Google sitemap xml LINQpadTry this codeyou can run directly in LINQPad to create a google sitemap more LINQPad free samplesStart here to explore some very useful LINQ queries - you can cut and paste into LINQPad more Conditional queries using LINQpadCodeyou can run directly in LINQPad to create a conditional query more Database Search algorithmThis returns either the results for whole search term (if successful) or AND all the words in the search term and try that more |