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 IMyInterface { void fun1(); void fun2(); } class MyClass: IMyInterface { private int i; void IMyInterface.fun1() { // Some code } }
interface IPerson { String FirstName { get; set; } String LastName { get; set; } void Print(); void Stock(); int Fun(); }
interface IMyInterface { void fun1(); int fun2(); } class MyClass: IMyInterface { void fun1() { } int IMyInterface.fun2() { } }
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;
}
}
}
delegate void del(int i);
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.