B
Bhuwan Bhaskar
Hi,
How can I use the functions in class / object if they are same in interface.
Code is attached. I want to implement function f of i1 and i2 in the
objcet.
Thanks and regards.
Bhuwan
interface i1
{
string f();
}
interface i2
{
string f();
}
public class t : i1, i2
{
string i1.f()
{
return ("First");
}
string i2.f()
{
return ("Second");
}
How can I use the functions in class / object if they are same in interface.
Code is attached. I want to implement function f of i1 and i2 in the
objcet.
Thanks and regards.
Bhuwan
interface i1
{
string f();
}
interface i2
{
string f();
}
public class t : i1, i2
{
string i1.f()
{
return ("First");
}
string i2.f()
{
return ("Second");
}