Created
January 25, 2019 02:52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = MSTranslatorUtility.Translate(this.textBox1.Text, "en"); //zh-Hant 為翻譯成中文 | |
this.textBox2.Text = $"目標語系 : { result.FirstOrDefault().translations.FirstOrDefault().to}"; | |
this.textBox2.Text += $"\r\n翻譯結果 : { result.FirstOrDefault().translations.FirstOrDefault().text}"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment