1
我创建了以下VB声明:LinqPad - 键入缺少
Dim str1 As [String] = "indigo"
Dim str2, str3 As [String]
MessageBox.Show("str1 = '{0}'", str1)
MessageBox.Show("str2 = Upper case copy of str1 using English-United States culture.")
' str2 is an upper case copy of str1, using English-United States culture.
str2 = str1.ToUpper(New CultureInfo("en-US", False))
' str3 is an upper case copy of str1, using Turkish-Turkey culture.
MessageBox.Show("str3 = Upper case copy of str1 using Turkish-Turkey culture.")
str3 = str1.ToUpper(New CultureInfo("tr-TR", False))
新增System.Globalization.dll通过查询其他参考但执行失败“的CultureInfo”没有定义类型。
我该如何解决这个问题?
斯特凡
您需要的命名空间 – SLaks