Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Code
//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 display(); } public interface ib { void display(); } public class a:ia,ib { string x; public a() { x="nikhil"; } public virtual void display () { Console.WriteLine(this.x); } } public class b: a { public override void display () { Console.WriteLine("derived"); } } public class c: b { public void display () { Console.WriteLine("derived2"); } } public abstract class o { public abstract void display (); public void show() { Console.WriteLine("abstract2"); } } public class j:o { public void display () { Console.WriteLine("abstract derived"); } } public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("nikhil!"); ib obja = new c(); obja.display(); } } }
run
|
edit
|
history
|
help
0
extrefGenerate
ShortBubbleSort
test
Mintra url string replace
Tarkov Time
Generic Type Foreach and Exceptions
Split string into equal chunks
Reverse a String Using Hash Function
database interior 0.2
Recursion