Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Explicit Interface Implementation
//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 { public interface IA { void print(); } public interface IB:IA { void print(); } public class Program:IB { void IA.print() { Console.WriteLine("Hello,PrintA "); } void IB.print() { Console.WriteLine("Hello,PrintB "); } public static void Main(string[] args) { IB p=new Program(); p.print(); //Your code goes here Console.WriteLine("Hello, world!"); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Listas JL
Jerold
Type win
reverse a stack
Calculate X and Y using Lambda Expressions
SunLocation
ElaineBrown**
Intuit // C# // listing_4.2 (Converting / Parsing)
test device logger
The Code Garage
Please log in to post a comment.