c# - Error CS1002: ; Expected -- I have a semicolon. :( -
Trying to create a new instance of "mortgage data" object.
Used to use Professor:
Classname InstanceName = New Classname (arg1, arg2, arg3, arg4);
I used
mortgage data somethingsomething = new mortgage data (ID, principal, APR, word);
Error getting CS1002:; Expected with the class name after the new name is outlined with Red. I am using Visual Studio 2008.
Not sure what to do.
For new
instead of type < Code> new . C # Keywords are case-sensitive, and always in the lower case!
Comments
Post a Comment