Esempio n. 1
0
 public static string FormatStringWrite(Question q)
 {
     return string.Join(";", q.Id, q.AuthorEmail, q.AuthorEfficiency.ToString(Culture), q.AuthorRating,
         q.DateAdded.ToString("F", Culture), q.DateClosed.ToString("F", Culture),
         q.Category, q.Rating, q.ValuesAmount, q.ChosenBestBy, q.Title, q.Text, q.Tags);
 }
Esempio n. 2
0
 public void AddQuestion(Question question)
 {
     questionList.Add(question.Id, question);
 }