Renamed project to CCharLearn
This commit is contained in:
parent
a6f55347b8
commit
591c3307a9
233 changed files with 16 additions and 17 deletions
|
@ -1,28 +0,0 @@
|
|||
namespace LearningChineseFixed
|
||||
{
|
||||
public class CCharStats
|
||||
{
|
||||
public CChar cchar { get; set; }
|
||||
public int NumOfCorrects { get; set; } = 0;
|
||||
public int NumOfWrongs { get; set; } = 0;
|
||||
public int TotalAnswers { get => NumOfCorrects + NumOfWrongs; }
|
||||
public float Accuracy
|
||||
{
|
||||
get
|
||||
{
|
||||
return (float)NumOfCorrects / (float)TotalAnswers;
|
||||
}
|
||||
}
|
||||
|
||||
public CCharStats(CChar cchar)
|
||||
{
|
||||
this.cchar = cchar;
|
||||
}
|
||||
}
|
||||
|
||||
public enum StatType
|
||||
{
|
||||
NumOfCorrects,
|
||||
NumOfWrongs
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue