Beispiel #1
0
 public WordCard(string word, string translation)
 {
     Word                   = word;
     Translation            = translation;
     timesAnsweredCorrectly = 0;
     Example                = new ExampleOfWordUsage("", ""); // empty strings if no examples
 }
Beispiel #2
0
 public WordCard(string word, string translation, string example, string exampleTranslation)
 {
     Word                   = word;
     Translation            = translation;
     Example                = new ExampleOfWordUsage(example, exampleTranslation);
     timesAnsweredCorrectly = 0;
 }
Beispiel #3
0
 public WordCard()
 {
     /*This is for XmlSerializer - it -requires default ctor*/
     word                   = "";
     translation            = "";
     example                = new ExampleOfWordUsage("", "");
     timesAnsweredCorrectly = 0;
 }