I am not able to declare a veriable of my interface type Iregistration and you can see the using reference are also highlighted out and shows that un-necessary using statement shown below .
https://ibb.co/f0560P0
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mark TaborPosted Jul 25, 2019, 3:47 AM
Jaish MathewsPosted Jul 25, 2019, 3:45 AM
Jaish MathewsPosted Jul 25, 2019, 3:42 AM
Mark TaborPosted Jul 25, 2019, 3:41 AM
Mark TaborPosted Jul 25, 2019, 3:36 AM
Mark TaborPosted Jul 25, 2019, 3:28 AM
Mark TaborPosted Jul 25, 2019, 3:22 AM
- Did you declare your interface with "public" accessibility explicitly?
- Did RegistrationConcrete class implemented the interface "IRegistration"?
YES & YES , on hover over the namespace it says un-necessary namespace as its color shows that it did not get added as viual studio shows the added reference in birght white color .Priyanka JainPosted Jul 25, 2019, 3:10 AM
Jaish MathewsPosted Jul 25, 2019, 3:02 AM