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
Maha
NA
0
326.5k
Interface
Aug 17 2012 10:09 AM
This is Listing 6 program in the following website (http://www.developer.com/net/csharp/article.php/1482651/Working-with-Interfaces-in-C.htm).
The program is not executing. Please fix the error.
//Listing 6
using System;
interface Interdemo
{
void Show();
}
interface Interdemo1
{
void Show();
}
class Interclash : Interdemo, Interdemo1
{
void Interdemo.Show()
{
Console.WriteLine("Show() method Implemented");
}
void Interdemo1.Show()
{
Console.WriteLine("Display() method Implemented");
}
public static void Main(string[] args)
{
Interclash inter = new Interclash();
inter.Interdemo.Show();
inter.Interdemo1.Show();
Console.ReadKey();
}
}
Reply
Answers (
2
)
richtextbox cell in datagridview?
transfering and converting from string to bool