Metadata view of code in referenced assemblies This is a big one for me. For whatever reason, Refactor 4 (and prior) completely disables this and sends you to the Object Browser instead. You get metadata view with CodeRush Refactor! Pro. Keyboard layout As you might imagine, CodeRush Refactor! Pro and...
I had intended to be happy simply being a signatory of ADO .NET Entity Framework Vote of No Confidence. But, there's people suggesting signatories of this petition are wackos or on the fringe. Do yourself a favour and read the petition . Read what we have issues with and how we think Entity Framework...
Hi , I got a question from one of my friends,he's creating an Outlook Add-In and he wants to open a specific website inside outlook. To do so,simply create a new project Outlook 2007 Add-In,and paste below couple of lines of code,this will open a url inside your outlook. C# Code : Office.CommandBarComboBox...
This morning I happened to show a colleague (Malcolm Rowe) the neat trick of using nullable types and the null-coalescing operator (??) to implement compound comparisons in C#. He asked whether it wouldn't have been nicer to make this a library feature rather than a language feature. I'm all...
I’m still not understanding why it won’t give me a warning when I create an internal class with a public method. Here’s an example: class MyInternalClass{ public void Test(){} //no compiler warning } Ok, at the end of the day, Test is really an “internal” method since the acessibility of...
Creo que me estoy aficionando a las series de posts no de la tele , ya que acabo de terminar la serie de artículos acerca de cómo acceder a la caché de Internet Explorer y ya estoy planteándome una nueva, sobre acceder al directorio activo mediante una aplicación realizada con C#. Esta serie, al igual...
Single Responsibility Principle (SRP) helps us write more cohesive types and methods. Cohesion is the relatedness of the members of a type to each other and the relatedness parts of a method's code to other parts. Method cohesion Often times a method is not very cohesive, meaning the code that it...
Éste es el último post de esta serie, en la cual se ha desarrollado un proyecto de ejemplo de cómo acceder a la caché de archivos temporales de Internet Explorer. De hecho, he aprovechado la excusa para montar un pequeño proyecto de ejemplo en el que poder enseñar varias cosas que tenía en mente y por...
Joe Albahari, co-author of the excellent C# 3.0 in a Nutshell (previously reviewed here ) kindly agreed to review C# in Depth. Not only has he provided the review below, but he also supplied several pages of notes made while he was reading it. Many of those notes have been incorporated into the C# in...
I was watching Entity Framework code when I found this code: switch ( this .<>1__state) { case 3 : case 4 : break ; default : return ; try { } finally { this . d__0.<>m__Finally6();" href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Data.Entity:3.5.0.0:b77a5c561934e089...