24 lines
516 B
C#
24 lines
516 B
C#
|
using System;
|
|||
|
using System.Collections;
|
|||
|
|
|||
|
namespace Päevaküsimus.Models
|
|||
|
{
|
|||
|
public class Answer
|
|||
|
{
|
|||
|
public string answer { get; set; }
|
|||
|
public bool correct { get; set; }
|
|||
|
public int selectionCount { get; set; }
|
|||
|
|
|||
|
public Answer(string answer)
|
|||
|
{
|
|||
|
this.answer = answer;
|
|||
|
this.correct = false;
|
|||
|
}
|
|||
|
|
|||
|
public Answer(string answer, bool correct)
|
|||
|
{
|
|||
|
this.answer = answer;
|
|||
|
this.correct = correct;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|