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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mark TaborRank #914 · 2.3K reputationPosted Jul 24, 2019, 11:41 PM EDT
Jaish MathewsRank #225 · 11K reputationPosted Jul 24, 2019, 11:02 PM EDT
Priyanka JainRank #356 · 7K reputationPosted Jul 24, 2019, 11:10 PM EDT
Mark TaborRank #914 · 2.3K reputationPosted Jul 24, 2019, 11:22 PM EDT
- 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 .Mark TaborRank #914 · 2.3K reputationPosted Jul 24, 2019, 11:28 PM EDT
Mark TaborRank #914 · 2.3K reputationPosted Jul 24, 2019, 11:36 PM EDT
Jaish MathewsRank #225 · 11K reputationPosted Jul 24, 2019, 11:42 PM EDT
Jaish MathewsRank #225 · 11K reputationPosted Jul 24, 2019, 11:45 PM EDT
Mark TaborRank #914 · 2.3K reputationPosted Jul 24, 2019, 11:47 PM EDT