Beispiel #1
0
        static void Main(string[] args)
        {
            MinApp app = new MinApp();

            for (int x = 0; x < 100; x++)
            {
                for (int i = 0; i < 10000; i++)
                {
                    app.OpretObjekt();
                }
                System.Threading.Thread.Sleep(200);
                app.FjernReferencer();
            }
        }
Beispiel #2
0
 public MitObjekt(MinApp mor)
 {
     this.mor             = mor;
     this.mor.Hjerteslag += SkrivTick;
 }