{
public Department Department{get;set;}
}
class c2
{
public new Department
}
class Department
{
}
class Department
{
}
在這個狀況下 Department 該如何轉型呢??
public new Department Department
{
get
{
Object temp = base.Department;
return temp as Department;
}
set { }
}
沒有留言:
張貼留言