Keyword is not valid as identifier: VB2010

Hello, we are trying to sort one of our lines for an error message:

Public ERROR As String 

but we continue to delete the message. The keyword is not valid as an identifier. In any case, around this error, since the name cannot be changed from ERROR to the string

thanks

+6
source share
1 answer

You can use:

Public [ERROR] As String

C # Version:

public line @ERROR;

+7
source

Source: https://habr.com/ru/post/921248/


All Articles