Industrial-Sized Deals TextBTS15 Shop Women's Handbags Learn more nav_sap_plcc_6M_fly_beacon Melanie Martinez Fire TV Stick Subscribe & Save Find the Best Purina Pro Plan for Your Pet Shop Popular Services tmnt tmnt tmnt  Amazon Echo Starting at $99 Kindle Voyage Metal Gear Solid 5 Shop Back to School with Amazon Back to School with Amazon Outdoor Recreation Deal of the Day
.NET Gotchas: 75 Ways to Improve Your C# and VB.NET Programs and over one million other books are available for Amazon Kindle. Learn more

.NET Gotchas 1st Edition

17 customer reviews
ISBN-13: 978-0596009090
ISBN-10: 0596009097
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used
Buy new
More Buying Choices
20 New from $19.08 24 Used from $0.04
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

InterDesign Brand Store Awareness Rent Textbooks
$39.95 FREE Shipping. Only 2 left in stock (more on the way). Ships from and sold by Gift-wrap available.

Frequently Bought Together

.NET Gotchas + VB.NET Language Pocket Reference
Price for both: $49.90

Buy the selected items together

Editorial Reviews

About the Author

Dr. Venkat Subramaniam ( is the founder of Agile Developer, Inc. (a software training, mentoring and development firm), and a co-founder of DuraSoft. Working with .NET since its Beta 2 pre-release, he's used the platform extensively on commercial projects for his clients. Venkat offers several courses on developing applications using .NET, and has trained and mentored more than 3,000 software developers in the US and Europe. A frequent speaker at software development conferences, he is also an adjunct professor for the practice of computer science at University of Houston, and teaches at Rice University's School for Continuing Studies. Venkat holds a BS in Computer Engineering, an MS in Electrical Engineering, and PhD in Computer Science. He is recipient of the 2004 UH Computer Science Department Teaching Excellence award.


Best Books of the Month
Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.

Product Details

  • Paperback: 396 pages
  • Publisher: O'Reilly Media; 1 edition (June 3, 2005)
  • Language: English
  • ISBN-10: 0596009097
  • ISBN-13: 978-0596009090
  • Product Dimensions: 7 x 1 x 9.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon Best Sellers Rank: #2,583,125 in Books (See Top 100 in Books)

More About the Author

Dr. Venkat Subramaniam, founder of Agile Developer, Inc., has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia. Venkat helps his clients effectively apply and succeed with agile practices on their software projects. He is a frequent invited speaker at international software conferences and user groups. He's author of .NET Gotchas (O'Reilly), coauthor of the 2007 Jolt Productivity award-winning book Practices of an Agile Developer (Pragmatic Bookshelf),
and author of Programming Groovy (Pragmatic Bookshelf).

Customer Reviews

Most Helpful Customer Reviews

8 of 8 people found the following review helpful By Puneet Sarda on June 8, 2005
Format: Paperback
If I had just two words to describe this book they would be "Experience Talking". Read this only if you have played with .net for a year or more. You will recount how you were stuck in an issue and spent anything from hours to days figuring out whats the right way to do it. And now it is out there for you in this book.

The Highs:

--> The author gets to the point from the word go instead of talking about whats .net etc.... Hence for the advanced reader, its a delight.

--> The gotchas are explained keeping in mind how Design Principles might get violated by the programmer and what can be done to avoid.

--> The examples are both in C# and VB.NET which makes it appealing for programmers from both the communities.

--> The author has gone to low level details like MSIL generated code to explain the reason behind a gotcha which clarifies things very well.

The Lows:

--> A few typos in the code (I found two glithces) but the errors will be evident to the observant reader.

Strongly recommended for anyone who believes in learning from other peoples mistakes :)
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
9 of 10 people found the following review helpful By J Hollingsworth on November 1, 2005
Format: Paperback
The real question about this book is, "What is the point?" I purchased this book based on early reviews. I encourage you not not make my mistake; you should take a look at the contents first. I believe you will quickly decide you have several better book choices from Amazon. The book is a collection of essentially unrelated code snippets in C# and VB.NET, which describe how not to write code. Everything in the book is well-known and available in the C# / VB.NET online documentation. If you are specifically interested in programming mistakes then this book may be of interest to you. But if you are looking for practical coding techniques you should look somewhere else.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
11 of 13 people found the following review helpful By Robert Stinnett VINE VOICE on June 5, 2005
Format: Paperback
Most C# and VB.Net programmers know there are many quirks and unforseen results that hide within the .NET Framework. Sometimes we think we know how something should behave, and will spend hours trying to make it work -- all the while, the actual behavior was working correctly, it was our assumptions that were incorrect.

In this book, the author takes you through 75 of the most common quirks, gotchas and pitfalls that even the most experienced .NET programmer sometimes will get stuck up on. This is not a book about errors within .NET, rather one that shows you the more common differences between perceived and expected results.

The book is organized into sections covering different areas of the framework -- from the CLR itself, to garbage collection, to the Visual Studio environment, and beyond. One of the more helpful parts about the book is the author in many places will illustrate code snippets with "gotcha" or incorrect code, and then have a sample of the correct way to code a given item to get back the intended results. In addition, a wrap-up at the end of each gotcha puts the entire thing into a nutshell-quote to make it (hopefully) easy to remember and apply.

To wrap it all up, the author also includes a pretty comprehensive appendix to direct to you to web sites, online discussion groups and FAQ's to find out more information about the particular quirk or gotcha.

All in all, one of those books you won't just purchase and sit down and read for the heck of it. Rather, one of the books you purchase and yank off the shelf when you find yourself doing some .NET programming and find yourself scratching your head trying to avoid a pitfall.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 9 people found the following review helpful By rfz on November 5, 2005
Format: Paperback
I love O'Reilly books in general but this book has me asking what has happened there. This gotchas book is a weak entry in the O'Reilly lineup. Not so much from a technical point of view; overall the book is competent, but from a "why do I want this book"? On the positive side the book is interesting because it presents some real arcane features of the CLR, but on the negative side there is very little practical value. Like any book, check it out first to see if you will find it useful --- I did not.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 4 people found the following review helpful By Raja Kakayadi on July 6, 2005
Format: Paperback Verified Purchase
There are very few programming books that gives you a sense of "Oh Really ?" after reading them and this is definitely one of those. First of all, be aware that the intended audience for this book is definitely or C# programmers with experience. If you're a newbie to .Net, then you need to know some stuff before opening this book and therfore it would not be a good value addition for newbies.

Okay, I read only Chapter-5 (Garbage Collection Gotchas) in this book so far but from just reading that chapter alone, I got the sense of "Oh Really !". Rarely do you see Garbage Collection discussed in such detail in .Net books, but it is a class act in this book. The concept or Gotcha is explained very clearly without any typos and the code is presented in the book in both VB & C#. Therefore, it is highly useful for both the audience (VB & C#) and also it gives you a sense of what is possible or not-possible in the other language. For example, C# uses ~ for destructor whereas in VB you have to explicitly code the Finalize method. Also, there is no equivalent of "using" in VB although .Net 2.0 introduces it in VB. As far as Chapter-5 is concerned, I had to read the gotchas in order since they kind of build up on the previous one. But, Iam really hoping that I can just read the other Gotchas in no particular order.

To Summarize


* Code presented in both VB & C#

* No typos or obvious errors (atleast in Chapter-5)

* Great value addition even if you are just curious and have only a limited time

* Gives you a sense of what the other language has or lacks

* .Net 2.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
.NET Gotchas
This item: .NET Gotchas
Price: $39.95
Ships from and sold by
Want to discover more products? Check out these pages to see more: operating systems, .net programming, c#