Esempio n. 1
0
        public string ConversieLaSir_PentruFisier()
        {
            string s = string.Format("{1}{0}{2}{0}{3}{0}{4}{0}{5}{0}{6}{0}{7}{0}{8}{0}{9}",
                                     SEPARATOR_PRINCIPAL_FISIER, (Titlu ?? "NECUNOSCUT"), (Autor ?? " NECUNOSCUT "), (Editura ?? " NECUNOSCUT "), Cod.ToString(), NumarExemplare.ToString(), NumarImprumutate.ToString(), Limba, GenToString, dataActualizare.ToString());

            return(s);
        }
Esempio n. 2
0
 public string ConversieLaSir()
 {
     return("#" + Cod.ToString() + " - " + Titlu + " - " + Autor + " - " + Editura + "\nLimbă: " + Limba + "\nGen: " + GenToString + "\nNumăr de exemplare: " + NumarExemplare.ToString() + "\n");
 }