Type of interfaces in C#
1. Implicit interface:
whenever the class implements one or more than one interface member with different name and signature. then this type of interface is called implicit interface.
Syntax:
interface interface_name
{
//member
}
Note:
the implicit interface can access by using object of the class.
we no need to type the interface.
2. Explicit Interface:
whenever the class implements more than one interface with same name and signature. then this type of interface called explicit interface.
Note:
Access modifier is not valid for the explicit interface.
Related URL:
https://www.youtube.com/watch?v=aedwpjcBDCU&t=157s
https://www.youtube.com/watch?v=yu63SSNY5sQ&t=1s
https://www.youtube.com/watch?v=Cow5nWIOx8I&t=1050s
https://www.youtube.com/watch?v=xbIgPwaAwjQ&t=10s
Website: https://www.programmingwithshri.com/
Download
0 formats
No download links available.
Interface In C# | Interface part two | (C#.NET Tutorials) | NatokHD