📄 impconversiondatetostringb.vb
字号:
'Author:' V. Sudharsan (vsudharsan@novell.com)'' (C) 2005 Novell, Inc.Option Strict OffImports System.ThreadingImports System.GlobalizationModule ImpConversionDatetoStringB Function Main() As Integer Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US") Dim a As Date = "1/1/0001 12:00:00 AM" Dim b As String = "hello" + a If b <> "hello12:00:00 AM" Then System.Console.WriteLine("Concat of Date & String not working. Expected helloa but got " & b) : Return 1 End If End FunctionEnd Module
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -