I'm implementing a program using C # with .NET 3.5
I have the following code:
StringBuilder sb = new StringBuilder();
sb.Append(caminhoSalvarCobranca);
sb.Append(@"\Boleto ");
sb.Append(boleto.Sacado.Nome);
sb.Append(boleto.Boleto.DataVencimento.ToShortDateString);
" boleto.Boleto.DataVencimento.ToShortDateString
" returns a string in the date format "dd / mm / yyyy". Would you have some function to remove the slashes ("/") and leave only the date (ddmmaaaa)?