Displaying posts written in

September 2009

When you can use Conditional If Expression aka Single Line If Statement in .NET C#

… and the real name is ternary operator [thks pdh]… I hope you know this way to write an if statement: condition ? expression : expression In .NET (hem and only c#) you can you this only as right operand such as: a = (b > 50) ? 1 : 100; you cannot use ?: [...]

Enable or Disable Visual Studio Hosting Process?

Well, I work every day with Visual Studio and main current project I’m working on is a solution with eight projects, winexe and libs. Microsoft says that Visual Studio Hosting Process (projectname.vshost.exe in your task list) give you this improvements: 1. Improved Performance Bah, doing what? I have six unuseful process eating cpu, memory and [...]