c# parse formatted string