ukerandi
asked on
C# Abstract class issue
Hi I wrote Abstarct class but i need to know this correct,i feel something is not write see below my code
Abstarct class
Calling
Please let someone know where is wrong ,how to do implement with abstract class.thx
Abstarct class
abstract class Display
{
public abstract void DisplayDetails();
}
}
Calling
class Email:Display
{
private string strEmail;
private string fromPassword = "123456";
public string EmailResults
{
get { return this.strEmail; }
set { this.strEmail = value; }
}
public override void DisplayDetails()
{
EmailResults = "Send email successfully!!!";
}
Please let someone know where is wrong ,how to do implement with abstract class.thx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER