Saturday, September 17, 2011

Concatenate strings in Console.WriteLine statement

Module Module1

    Sub Main()
        Dim WebSite As String
        Dim Publisher As String = "AAAA"

        Console.WriteLine("AAAA: " & Publisher)

        WebSite = "CCCC." & Publisher & ".DDDD"
        Console.WriteLine("String one " & WebSite)

    End Sub

End Module

No comments:

Post a Comment

Explain the different parts that constitute ASP.NET application.

Content, program logic and configuration file constitute an ASP.NET application. Content files Content files include static text, images ...