我创建了一个这样的词典:
Private WordMDictionary As Dictionary(Of String, String())
Public Sub wordget()
WordMDictionary = New Dictionary(Of String, String())
WordMDictionary.Add("Money", {"Money- Psychologically value added binary code or paper", "Cash - same meaning as money"})
End Sub
如何在运行时使用文本框添加单词及其含义?
答案 0 :(得分:0)
假设你有一个单词的TextBox
和另一个TextBox
(多行)的含义。
WordMDictionary(txtWord.Text) = txtMeanings.Lines
所以一行就是一个意思。