interface IMyInterface { void fun1(); int fun2(); } class MyClass: IMyInterface { void fun1() { } int IMyInterface.fun2() { } }
interface IPerson { String FirstName { get; set; } String LastName { get; set; } void Print(); void Stock(); int Fun(); }
interface IMyInterface { void fun1(); void fun2(); } class MyClass: IMyInterface { private int i; void IMyInterface.fun1() { // Some code } }
interface IMyInterface { double MyFun(Single i); }
class MyClass
{
double MyFun(Single i) as IMyInterface.MyFun
{
// Some code
}
}
class MyClass
{
MyFun (Single i) As Double
{
// Some code
}
}
class MyClass: implements IMyInterface
{
double fun(Single si) implements IMyInterface.MyFun()
{
//Some code
}
}
class MyClass: IMyInterface
{
double IMyInterface.MyFun(Single i)
{
// Some code
}
}
class MyClass: IMyInterface
{
double IMyInterface.MyFun(Single i)
{
// Some code
}
}
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.