Object Initializers were introduced with Visual Studio 2008 so they were simply not available in .NET 2.
But you can use this syntax:
Dim calculator As New Calculator01()
calculator.NodeName = "Number_Departures_Per_Day"
calculator.NodeValue = DC_NDPD.ToString()
_Results.Add(calculator)
If you want one line you should provide an appropriate constructor which is a good thing in general:
Class Calculator01
Public Sub New(NodeName As String, NodeValue As String)
Me.NodeName = NodeName
Me.NodeValue = NodeValue
End Sub
Public Property NodeName As String
Public Property NodeValue As String
End Class
Now you can use this code:
_Results.Add(new Calculator01("Number_Departures_Per_Day", DC_NDPD.ToString()))