percentage of value c# code example Example: get percentage c# (current / maximum).ToString("0.00%");