Browse by Tags
All Tags »
Effective C# (
RSS)
Not so much a code as what you might call 'guidelines' Recently, one of the readers of Effective C# asked me some questions about Properties vs. Get and Set methods. It turned into a rather interesting conversation, so I'm posting it all here...
Peter is always thorough. Peter N. Roth reviewed "C# Precisely", and "Effective C#" in the latest issue of C++ Users Journal. You can read the full review here: http://www.cuj.com/documents/s=9897/cuj0510book/ I'll only add one...
What comes next? One of the comments on an earlier entry ( http://www.srtsolutions.com/blogs/billwagner/2005/06/21/id93158.aspx ) asks if I'm going to write an updated version of Effective C# for version 2.0. I'm not certain, for two reasons....
For everything else.... Oh, never mind Cost of PDC: $1500 Hotel (5 nights): $950 airfare: $375 Having the C# Product unit manager recommend your own book to you.... Priceless . <short backstory> At PDC, a number of RD's were invited to spend...
On immutable structs, structs, and classes I received the following question that relates to Item 7 in Effective C#. It’s not strictly an errata, so I thought I would post it here for general discussion: In Item 7, you recommend the use of immutable...
A very thorough review of Effective C# Jim Holmes, who runs the Dayton Ohio .NET User group posted a very thorough review of Effective C# yesterday. (Thank you, Jim). The slashdot Review More than 150 comments, and growing Jim's follow-up comments...
There's no hidden meaning, really. A friend asked me why there is a violin on the cover of Effective C# instead of any other instrument. The logic was actually pretty simple. A musical instrument seemed logical for a C# book. At the time, four of...
An Effective C# reader had a number of questions on Exceptions and Remoting Throwing Exceptions across appdomain boundaries is more complicated than it is in other situations. The full discussion It's in my Effective C# blog, because it centers on...
A reader asks about a variation of loop variable hoisting Question on Item 11. Regarding your examples of loops, where would the following end up in efficiency? // Loop 4: ( for ( int index = 0, len = foo.Length; index < len; index++) … This...
It's in the stores only, if you are in their region. Books a million ( http://www.booksamillion.com ) has a promotional deal running on Effective C#. It's in the stores only, so the website does not mention the promo. The Effective C# page at...
Those of you that receive .NET Insight saw this yesterday Fawacette Technical Publications (FTP) has published a second excerpt from Effective C# online. This time it's Item 44, discussing how to create your own custom exception classes. The landing...
I've opened a blog for reader Q & A (and errata *sigh*). I’ve added the first reader Q & A item to the Effective C# book blog: In the section on Conditionals you say that in order to create a method that will fire if more than one condition...
Peter Himshoot (a fellow RD) comments on Effective C# Peter Himshoot, another Regional Director , has written an entry in his blog about Effective C# . He says some very nice things, including "So for anyone interested in improving their C# (and...
Addison Wesley is posting *more* excerpts of Effective C# now (But you should still buy the book.) New this week: Two new items. First, Prefer Immutable Atomic Values Types (pdf) . Second, Understand the pitfalls of GetHashCode (pdf) . Third, there is...
Addison Wesley is posting excerpts of Effective C# now It’s exciting to see this becoming real after all this work. Each week, one new item will go online here at the main page. This week's item is on differentiating between value types and...