The VB equivalent to a Java static initializer block is a shared constructor.
public static int field;
field = 1;
Public Shared field As Integer
Shared Sub New()
field = 1
Use Java to VB Converter to convert from Java to VB.
VB.NET and Java Equivalents
Copyright © 1997 – 2018 Tangible Software Solutions Inc.