private void Add(int _nom, string _text) { ans a = new ans(); a.nom = _nom; a.text = _text; answers.Add(a); }
private void Add(bool _isyes, int _nom, string _text, double _mark) { ans a = new ans(); a.nom = _nom; a.text = _text; a.Mark = _mark; a.isYes = _isyes; answers.Add(a); }