Tag Archives: C#

On closures and captured variables

A few days ago, on the project I’m working on, I’ve stumbled on an interesting bug – an example of why it pays off to learn the ‘deeper’ areas of C# language (or any other language). Greatly simplified (and with … Continue reading

Posted in .NET, C# | Tagged , , , | Leave a comment

Event aggregator in .NET

A few days ago I had to choose an event aggregator implementation for using it inside the project (ASP.NET in this case). Of course, there are plenty of alternatives, probably the most famous being the one from Prism . Since that … Continue reading

Posted in .NET, C# | Tagged , , , , , , , , | Leave a comment

O poveste cu doi gemeni în C#

M-am lovit de curând de o situație mai ciudată: două assembly-uri diferite, fără legătură directă între ele, definesc ambele aceeași clasă, în același namespace (nu mă întrebați cum s-a ajuns la situația asta, normal că nu e recomandat etc..). Problema … Continue reading

Posted in .NET | Tagged , , , | Leave a comment