TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Seshadri M
NA
69
18.1k
interface implementation with another interface
Oct 15 2017 12:45 PM
//i am getting error the modifier public is not valid for this item
interface i
{
public void method1();
}
interface a:i
{
public void methoda();
}
class Program:a
{
static void Main(string[] args)
{
a obj1 = new Program();
obj1.method1();
Console.ReadLine();
}
void method1()
{
Console.WriteLine("methods1interface");
}
void methoda()
{
Console.WriteLine("methods1interface");
}
}
}
Reply
Answers (
2
)
How to autoplay next song/video in WMP in C# with mysql
How to create a list of list of different classes?