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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -