Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Inheritance Ctor
//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 GrandParent { public GrandParent() { Console.WriteLine("Grand Parent default ctor"); } } public class Parent : GrandParent { public Parent() { Console.WriteLine("Parent class default ctor"); } public Parent(string param) { Console.WriteLine("Parent class parametric ctor"); } } public class Child :Parent { public Child ():base("Child1") { Console.WriteLine("Child class default ctor"); } } public class Program { public static void Main(string[] args) { //Your code goes here //Console.WriteLine("Hello, world!"); Child childObj = new Child(); } } }
run
|
edit
|
history
|
help
0
dsdsdsdsd
hh
RRR
Fórum ➡ Border of a string S with at least 3 non-overlapping solutions ( optimized version ) ♦
Unexpected result of virtual method
3D Array
a
a4
Random number between 1 - 100 between each value of 10 there will be a differnt message
person-student-teacher