Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Explicit Interface Examplle
//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 FirstInterface(string x); } public interface IB { void FirstInterface(string x); } public class Program : IA,IB { IA.FirstInterface(string x) { console.writeline(x); } IB.FirstInterface(string x) { console.writeline(x); } public static void Main(string[] args) { IA obj = new Program(); obj.FirstInterface("This is Base Interface"); IB obj2 = new Program(); obj.FirstInterface("This is Second Interface"); } } }
run
|
edit
|
history
|
help
0
Escape's Vanity Fair (Malformed \p {X} character escape)
D113
seoituerwoi
Download a .NET assembly, and execute a static, parameterless method.
FindElementInAscendingSortedRotatedArray
Pascal Tringle
dsfsdfdf
Fibonacci of array elements C#
DateTime.Now.Date
double to hex to double lose precision