Error using Interface | Selenium Webdriver Tutorial with c# |Selenium C# training

Selenium C# Training Forum

Error using Interface

M
mai Post on 13/11/2018

I have very simple code like that in module 4 for to use interface but am getting this error using interface:


Syntax error, ',' expected
I have attached the project

G

Instructor

gunjan Reply on 13/11/2018

You have an extra colon before curly braces , that is why you are getting the error. Please check once again.

class BasicPhone : IMobile
: {