December 2007 Entries

Book Review: Accelerated C# 2008

I just finished reading Accelerated C# 2008 by Trey Nash this weekend.  The book is appropriately titled as it includes the fundamentals for novices and a fair amount of advanced material to satisfy the intermediate developer.  Don't expect to see too many pages devoted to any one topic as this book covers everything from basic C# syntax to Lambda Expressions.  For a language book, it was refreshing to see some mention of best practices for once.  Just about all of the chapters are sprinkled with advice and tips relating to real-world scenarios.  The book is very readable (which is extremely...

Cool C# 3.0 Extension Method Idea

Extension Methods, simply put, allow for the extension of existing types (including the types you don't own) to include new methods. Insightful dialog can be found in several other places so I won't go there, but I did come up with an example that I thought might be useful. The Truncate method above truncates strings that are longer than maxLength and adds an ellipsis to indicate that the string has been truncated.  If the string is less than maxLength, the entire string is returned. The first argument in the method signature tells the compiler that...

New Year, New Blog

One of my New Year's resolutions is to start a new blog. So here it is! My old blog and posts at ExplosiveDog.com will remain where they are for the time being so don't expect to see anything new on that site. I have a few ideas for this blog that I am excited about and I will be will be introducing them very soon (like next week), so stay tuned!  Happy New Year!!