.NET Optimization