是否内置了.NET功能,可以用州名来制作州缩写?
我知道函数写起来并不困难,但我认为MS已经想到了比下面的x50更有效的方法:
if statename.tolower = "new york" then statename = "NY" else if
任何其他使这更高效的想法也值得赞赏.
.net c# vb.net
.net ×1
c# ×1
vb.net ×1