Created
June 8, 2012 14:42
-
-
Save bonprosoft/2895974 to your computer and use it in GitHub Desktop.
どっちを優先するの?
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
'言語を作るなら、言語の仕様を再確認! | |
Module Module1 | |
Public Function Test() As String | |
Return "Hello from Method" | |
End Function | |
Sub Main() | |
Dim Test As String = "Hello" | |
Dim s As String = "" | |
s = Test | |
Console.WriteLine(s) '結果: Hello! | |
s = Test() | |
Console.WriteLine(s) 'エラー! | |
End Sub | |
End Module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment