Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C# constructor in inheritance
//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!"); ClassTwo objTwo = new ClassTwo(); } } public class ClassZero { public ClassZero() { Console.WriteLine("Inside ClassZero Contr"); } } public class ClassOne : ClassZero { public ClassOne() { Console.WriteLine("Inside ClassOne Contr"); } } public class ClassTwo : ClassOne { public ClassTwo() { Console.WriteLine("Inside ClassTwo Contr"); } } }
run
|
edit
|
history
|
help
0
C# Basic learning
Project Euler Problem 4
D112
Moon Gravity
JOE'S C# CODE
Enemy Spawner
Integers Array manipulation examples
tester of xpath
UUEncode, UUDecode, XXEncode or XXDecode a string.
bc160401882