Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Abstract class by Derived class reference example
//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 abstract class Abstr { public void Describe(string x) { //do something Console.WriteLine(x); } public abstract void SayAbstract(string x); } public class Program : Abstr { public override void SayAbstract(string x) { Console.WriteLine(x); } public static void Main(string[] args) { Abstr obj = new Program(); obj.Describe("Hai"); obj.SayAbstract("This is from abstract class reference"); } } }
run
|
edit
|
history
|
help
0
/Users/svetlanakanevskaa/Downloads/ACDB.sql
ParseIpRanges invalid character in string
проект из 7 главы
Капча
solution to problem #3 from projecteuler.net
adxcsxsd
insertion sort
xml into dictionary
get weekofDay from DateTime in C#
sdfrgthyjukioikujyhtgrfds