I tried doing something like this:
class Student: IPersonalDetails: IOtherDetails
{
//Code
}
It gives error. Why I can't implement two interfaces?
Use a comma between the interface types, e.g.
class Student: IPersonalDetails, IOtherDetails
{
//Code
}
Change it to
class Student: IPersonalDetails, IOtherDetails
{
//Code
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With