Exemplo n.º 1
0
        private New_Word Create_new_word(string word, string category)
        {
            New_Word kelimemiz = new New_Word();

            kelimemiz.word     = word;
            kelimemiz.category = category;
            return(kelimemiz);
        }
Exemplo n.º 2
0
        private New_Word Create_New_Word(string word, string category)
        {
            New_Word our_word = new New_Word();

            our_word.word     = word;
            our_word.category = category;
            return(our_word);
        }
Exemplo n.º 3
0
        public New_Word take_word()
        {
            if (wordl_list.Count == 0)
            {
                wordl_list = new_wordlist;
            }
            Random   rastg     = new Random();
            int      a         = rastg.Next(0, wordl_list.Count);
            New_Word kelimemiz = wordl_list[a];

            return(kelimemiz);
        }
Exemplo n.º 4
0
        public New_Word take_word()
        {
            if (Word_List.Count == 0)
            {
                Word_List = New_Word_List;
            }
            Random   rndm     = new Random();
            int      a        = rndm.Next(0, Word_List.Count);
            New_Word our_word = Word_List[a];

            return(our_word);
        }