c# Programming Glossary: drew
Why is lock(this) {…} bad? http://stackoverflow.com/questions/251391/why-is-lockthis-bad void Main string args var nancy new Person Name Nancy Drew Age 15 var a new Thread nancy.LockThis a.Start var b new Thread.. Thread.Sleep 10 var anotherNancy new Person Name Nancy Drew Age 50 var c new Thread NameChange c.Start anotherNancy a.Join.. old Nancy because Timewarp object locked on string Nancy Drew . else Monitor.Exit person.Name if Monitor.TryEnter Nancy Drew..
Globally catch exceptions in a WPF application? http://stackoverflow.com/questions/793100/globally-catch-exceptions-in-a-wpf-application Event . See this question for a summary see Drew Noakes' answer . Be aware that there'll be still exceptions..
|