using System; using System.Collections.Generic; using System.Text; public class MyResourceWrapper { ~MyResourceWrapper() { Console.Beep(); } } class Program { static void Main(string[] args) { MyResourceWrapper rw = new MyResourceWrapper(); } }
using System; using System.Collections.Generic; using System.Text; public class MyResourceWrapper { ~MyResourceWrapper() { Console.Beep(); } } class Program { static void Main(string[] args) { MyResourceWrapper rw = new MyResourceWrapper(); } }