Table of Contents

Extensions

Description

A lof of common extensions for any application, heres a sample list of the most useful ones:

Features

StringExtensions:

  • Is() and IsNot()
  • ToDateTime()
  • ToDate()
  • ToMd5()
  • ToBase64() and FromBase64()
  • Compress() and Decompress()
  • Obfuscate() and Unobfuscate()
  • ToPascalCase() and toCamelCase()
  • MaxLength()
  • GetSampledKey()
  • Encrypt() and Decrypt()

ConcurrentDictionaryExtensions:

  • Cache()

StringBuilderExtensions:

  • Is() and IsNot()
  • IndexOf()
  • EndsWith()
  • GetSampledKey()

IListExtensions:

  • Is() and IsNot()

Behavior

All extension methods should work out of the box and most never throws.