< Visual Basic .NET

This is the style guide for the Visual Basic .NET wikibook. Please try to follow it when making changes or additions to this book. If you find a page that does not follow this guide please change it.

Code

When adding code examples, please color it as it would appear in VB .NET. Use the font HTML Tags to do this. Example:

<font color="green">' This is a comment</font>
 <font color="blue">Dim</font> x <font color="blue">As</font> Integer = 5
 <font color="blue">Dim</font> s <font color="blue">As</font> String = <font color="#A31515">"Hello World!"</font>

produces:

' This is a comment
Dim x As Integer = 5
Dim s As String = "Hello World!"
Apologies I just stumbled across this and have been updating some of the pages using the <syntaxhighlight lang="vbnet"> tag. Please feel free to revert Pluke (discuss • contribs) 15:15, 25 February 2012 (UTC)
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.