Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
from Base or Derived
//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 class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); Base d = new Derived(); d.Print(123); } } public class Base{ public void Print(int n){ Console.WriteLine("From Base: " + n); } } public class Derived: Base{ public void Print(double n){ Console.WriteLine("From Derived: " + n); } } }
run
|
edit
|
history
|
help
0
a
CommandForce3
SQL import
111
/*Dizide bulunan sayıların en büyük iki ve en küçük ikisini bulma*/
Find smallest and largest integers in unsorted array
Using Yield Return to mass copy a Class instance
הארות אופן שימוש
pointer
Helloworld