Visual Basic .NET/Style Guide
Appearance
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
[edit | edit source]When adding code examples, please color it as it would appear in VB .NET. Use the span HTML Tags to do this. Example:
<span style="color:green;">' This is a comment</span> <span style="color:blue;">Dim</span> x <span style="color:blue;">As</span> Integer = 5 <span style="color:blue;">Dim</span> s <span style="color:blue;">As</span> String = <span style="color:#A31515;">"Hello World!"</span>
produces:
' This is a comment Dim x As Integer = 5 Dim s As String = "Hello World!"