Im expiring the error CS1031 Type expected, can u tell me what I did wrong

The error message has a line number in it. Start by looking at that line, and compare it to example code around the internet.

After doing that, if you still can’t figure it out, share the updated code here (along with the entire error message) and we can help you. but please use code tags as described here to make your code more readable.

1 Like