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
}
}
interface IPerson { String FirstName { get; set; } }
class Employee : IPerson
{
private String str;
public String FirstName
{
get
{
return str;
}
set
{
str = value;
}
}
}
class Employee
{
private String str;
public String IPerson.FirstName
{
get
{
return str;
}
set
{
str = value;
}
}
}
class Employee : implements IPerson
{
private String str;
public String FirstName
{
get
{
return str;
}
set
{
str = value;
}
}
}
class Employee : IPerson
{
private String str;
public String FirstName
{
get
{
return str;
}
set
{
str = value;
}
}
}
Copyright ©CuriousTab. All rights reserved.