Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
C# virtual dispose
//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 parent : System.IDisposable { public virtual void finalize() { Console.Write("parent"); } public void Dispose() { finalize(); } } public class child : parent { public override void finalize() { Console.Write("child"); } } public class Program { public static void Main(string[] args) { parent a = new child(); a.Dispose(); } } }
run
|
edit
|
history
|
help
0
Demonstration await Control returned to the Caller
Testing for Integers and Floats in a String
tamrin
Find the integers which squares sum gives the prime numbers of the form (4k + 1).
asxsv sdsd
sleep thread
Timer2
HMS abstract
sdfgtrewqdsc sdzdxsd
Testing 003