Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Interface with same methods
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { interface f1 { void display(); } interface f2 { void display(); } class A:f1,f2 { void f1.display() { Console.WriteLine("Hi f1 interface "); } void f2.display() { Console.WriteLine("How are you? f2 interface"); } public void display() { Console.WriteLine("I am fine A class"); } } public class Program { public static void Main(string[] args) { A a=new A(); a.display(); f1 f=new A(); f.display(); f2 obj=new A(); obj.display(); } } }
run
|
edit
|
history
|
help
0
program
test type casting
Remove xmlns and select signle node
Armstrong
Qwe
static, private, public constructor in C#
a5
The given number is prime or even
problem
towers of hanoi