public string askQuestion() { List <Question> questions = new List <Question>(); for (int i = 0; i < questionsAsked.Count; i++) { questions.Add(questionsAsked[i].question); } Question newQuestion = GameDBManager.getQuestion(questions); server.PublishChatMessage("Category: " + newQuestion.category); QA newQA = new QA(newQuestion); questionsAsked.Add(newQA); answeringOpen = true; //questionReady = true; startAnsweringTimer(); return(JsonMapper.ToJson(newQA)); }