New to VB.NET - "Expected end of statement" error -
New to VB.NET - "Expected end of statement" error -
i'm trying create array of integers:
dim amenities() integer amenities=new integer(){1,2,3,4,5} and i'm getting error:
expected end of statement
dim amenities() integer
-----------------------^
it says error happening on "as", have no thought i'm doing wrong. sense stupid asking, i'm stuck.
amenities variable name. declaration should read:
dim amenities integer() vb.net
Comments
Post a Comment