Skip navigation.

Blog Archive

March 2009

Using Reserved Words as Identifiers in VB.Net

March 20, 2009

Up until now, if I wanted to use a reserved keyword as a variable, function or property name (such as Public Property ReadOnly() As Boolean), the compiler would complain. Luckily I happened across a very simple answer yesterday; VB.Net works in a si... Read more & comment

Passing an Empty Array in VB.Net

March 4, 2009

When needing to pass arrays around between methods, I had always initialised them as Nothing so that I knew when they were completely empty. i.e. Dim arrayVar() As String = Nothing This is fine, but does then mean doing an extra check before workin... Read more & comment