4
Answers

Interface in .Net

SIVA

SIVA

10y
949
1
Team,
As I know that we can't create instance for Interface in .Net
But, I m bit confuse with some scenario's like,
Interface IA
{
add();
}
Class A : IA
{
add()
{
}
}
Now,I can use
IA obj = new A()
Can you please explain briefly & give some reference links to understand with core.
Thanks

Answers (4)