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
PrimeiroProjeto
count the string
dynamic in C#
Problem: on_off
BEISPEIL- AUGUST 6 -2019
bubble sort
ch.murali krishna
1234
prime number
Par ou ímpar