Using Type Alias

clock July 21, 2008 04:17 by author pjacobs
I am surprised how many people still don't know they can alias namespaces using the C# keyword using.  Resharper automatically adds this syntax for me and it seems like 1 person a month says that didn't know. 1: using Short = Company.Project.Task.Function; The ... [More]

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


using block trick for Generic Types and IDisposable

clock May 21, 2008 07:48 by author pjacobs
Let's say you have a generic class with a new() constraint on the type parameter. This means that you are allowed to create new objects of the generic type, like this: 1: class GenericClass<T> where T : new() 2: { 3: public void SomeMethod() 4... [More]

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Improve The Visual Studio Solution Explorer

clock May 20, 2008 03:26 by author pjacobs
The Visual Studio Solution Explorer can become difficult to navigate when a solution becomes quite large.  I have used a tool for some time now called SonicFileFinder.  It has become one of my favorite utilities. SonicFileFinder is a free add-in for Visual Studio that allows a fast and... [More]

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  August 2008  >>
SuMoTuWeThFrSa
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

Archive

Tags

Categories


Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in