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;
}
}
}
int i = 0, j = 0; label: i++; j+=i; if (i < 10) { Console.Write(i +" "); goto label; }
class Sample { public int func(int i, Single j) { /* Add code here. */ } }
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.