Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Basma-1
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rextester { class Program { public static void Main(string[] args) { Tier T = new Tier(); Hund H = new Hund(); Katze K = new Katze(); T.GetBeine(); H.Getlaut(); K.Getlaut(); K.GetBeine(); } } class Tier { public string name; public int Beine=4; public void GetBeine() { Console.WriteLine(Beine); } } class Hund : Tier { public void Getlaut() { Console.WriteLine("Wau Wau"); } } class Katze : Tier { public void Getlaut() { Console.WriteLine("Miau"); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
First pr
Volatile madness
Pending Finalizer
stockSeries
ColoredTriangleVaoOpenTK4OpenGL31 (Added shaders to Program.cs)
normalised pagination
algo1
mendozaeject
T
StackOverflowException
Please log in to post a comment.