Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Find Results Vs. Find Symbol Results Window in Visual Studio

AddThis Social Bookmark Button
You must know that, Visual Studio provides two different types of Find Results Window. While one of them are very commonly used and knows as “Find Results” windows; the other one “Find Symbol Result” is bit hidden or we used it for specifics scenarios. In one hand, the “Find Result” window finds the contextual matched [...]

Let’s dev this | Cloud Tour – Ft Lauderdale

AddThis Social Bookmark Button
Next week, on February 10th, I will be joining David Crook and Joe Raio in Ft Lauderdale for Microsoft’s Let’s dev this | Cloud Tour.  If you are in the area, come and join us, it will be a great event! To register and for more information, go here: https://www.microsoftevents.com/profile/form/index.cfm?PKformID=0x744437dee Date: Feb 10, 2016Time: 9:00 […]

Good, fast, pretty code: How to choose?

AddThis Social Bookmark Button
I have a piece of code that does something on types. It is a whole complex thing that does a lot of stuff. And the code is really ugly, here is a small part from ~180 lines method. The problem would have been much simpler if we could only switch on types, which is effectively what I want to do here. As it stands, however, the JIT is actually going to replace all those if statements with pointer comparisons to the method table, so this is pretty fast. Unpleasant to read, but really fast. I decided to
see what it would take to create a more readable version:
public class TypeCounter { public int Long; public Dictionary> Actions; public TypeCounter() { Actions = new Dictionary> { [typeof(long)] = o => Long++, [typeof(int)] = o => Long++, }; ...(Read whole news on source site)

Home