String formatter for .net