Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Interfaz1
//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 IShape // interface { void Display(); // by default all methods are public, only declaration of method is allowed void Draw(); } class Circle : IShape // all methods declared in interface must be implemented in derived class { public void Display() // implemented Display() method { Console.WriteLine("Display implemented in Circle"); } public void Draw() // implemented Draw() method { Console.WriteLine("Drawing a circle"); } } public class Program { public static void Main(string[] args) { Circle c1 = new Circle(); c1.Display(); c1.Draw(); } } }
run
|
edit
|
history
|
help
0
diagonal
Convert integer into bit string
1stoccuinsorted
Serialization
Hello World
30272 Program Ex7_2 switch
my cool stuff
test1
Remove Duplicate characters from String
jdiwnnx cf