using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
public static class Utilities
{
public static string Camel(this string input)
{
return Regex.Replace(" " + input, " \\w|_", match => match.Value.Trim().ToUpperInvariant());
}
public static string UnCamel(this string input)
{
return Regex.Replace(input, @"[\p{Lu}_]", x => " " + x.Value.ToLowerInvariant()).Trim();
}
}