Keyword is not valid as an identifier : VB2010
10,160
You can use:
Public [ERROR] As String
The C# version would be:
public string @ERROR;
Related videos on Youtube
Author by
DA-Dan
Updated on September 15, 2022Comments
-
DA-Dan over 1 year
Hello we are trying to sort one of our strings out for an error message :
Public ERROR As String
but we keep hitting the message Keyword is not valid as an identifier - Is there anyway around this error as the name cannot be changed from ERROR for the string
Thanks