Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Class Objects
//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.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); A _a = new A(); A _b = new B(); //B _c = new B(); _a.GetMethodA(); //_b.GetMethodA(); //_c.GetMethodA(); //_c.GetMethodB(); } } } public class A { public void GetMethodA() { Console.WriteLine("From Method A"); } } public class B : A { public void GetMethodB() { Console.WriteLine("From Method B"); } }
run
|
edit
|
history
|
help
0
Programmes
фабрика статик
T F
zasasasa
ICollection<T>.Add(T) - Performance Test
Copy_BubbleSort
Get a webpage - the sync way
Planet-D ver. 0.7
D113
Validation along token stack feature