Open main menu

Wikibooks β

Visual Basic .NET/Style Guide

< 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.


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>


' 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 (discusscontribs) 15:15, 25 February 2012 (UTC)