I'm new to .NET - just started developing on it this week - and cannot figure this out. What am I doing wrong?
Dim obj = New With {.text = "Hello World"}
Error BC30180: Keyword does not name a type.
I also seem to get this warning:
Variable declaration without an 'As' clause; type of Object assumed
Thanks in advance
Dim obj = New With {.text = "Hello World"}
Error BC30180: Keyword does not name a type.
I also seem to get this warning:
Variable declaration without an 'As' clause; type of Object assumed
Thanks in advance