SyntaxFix
Write A Post
Hire A Developer
Questions
IUser is the interface, you can't instantiate the interface.
IUser
You need to instantiate the concrete class that implements the interface.
IUser user = new User();
or
User user = new User();