eksam/Päevaküsimus/Models/Answer.cs
2017-01-26 17:50:33 +02:00

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;
}
}
}