Factory pattern with standard syntax

I bet you used factory/abstract factory pattern at least once in your career. It’s pretty straightforward to implement and use, but typical syntax (Car myCar = carFactory.Create(typeof(Car))) looks like piece of crap and is nowhere near to standard object construction. Can you make it prettier?

Read more »

Adding methodof operator

Ever wondered why there is typeof operator but there are no methodof and similar? It turns out you can use implicit conversions and generics to implement it in .NET 2.0 or newer.
Read more »

What’s the point?

So, another random WP blog with one update per year? Yes. Why? Because I can. What for? To share some of my thoughts about Microsoft .NET Framework.