Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Please find issue in below code??
shimab alam
10y
781
1
Reply
public interface IEmployee
{
void Des();
}
public class CEO :IEmployee
{
public virtual void Des()
{
Console.WriteLine("I M CEO");
}
}
public class HM :IEmployee , CEO
{
public void Des()
{
}
}
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Difference between abstract method and virtual method??
Can we have class without namespace??