Vb.net – How to declare an array inline in VB.NET

arraysliteralsvb.net

I am looking for the VB.NET equivalent of

var strings = new string[] {"abc", "def", "ghi"};

Best Solution

Dim strings() As String = {"abc", "def", "ghi"}