→ testPtt: static 11/09 22:44
→ tree581: 若thread的話static好像會影響,有其他方法嗎 11/10 08:58
推 s4300026: 那就封鎖吧 mutex 11/10 12:17
推 Litfal: 共用沒處理好,不管是不是用static,都有多執行緒問題啊 11/10 12:20
→ smmoon: class a{ public int i{get;set;} public a() { i =1; } } 11/12 14:00
→ smmoon: 喔 你是要共用a ,忽略上面我說的,把 a aa = new a()放到 11/12 14:04
→ smmoon: class main上面 11/12 14:04
→ annies5: class b: a, class main { b aa = new b(); } 11/12 14:58
→ annies5: 使用繼承方式去做 11/12 14:59