Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Binary search tree - In-order Traversal
Swap numbers without the third variable using the XOR operator
Testing 10
ParseIpRanges invalid character in string
count number of words in string
Get year quarter from date
concat
My name
problem 2
regex: rozważania nad powielaniem grup za pomocą kwantyfikatora
Please log in to post a comment.