for this line:
Private _allowedLocations As Point() = New () {New Point(50, 50), New Point(500, 500), New Point(700, 100)
i am getting the error “type expected for ‘new ()’
whats wrong with the syntax?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to repeat the type name before the (). You can rewrite the code as follows