Tag: Development

Community

No More Drive-By Debugging

(Peter Vogel) You’ve had this experience: You’ve got a bug in your program and you can’t figure it out. You call someone over to your desk and start to explain the problem. Part way through the description you figure out what the problem is. The person you invited in leaves without ever saying a thi

Community

Fill a Multi-Dimensional Array

(Chris Eargle) It is rare that I need to work directly with arrays in today’s world of LINQ to Objects. However, yesterday evening I found myself with the need to fill the elements of a multidimensional array. If I had any observers, I’m sure this would have been an amusing period of time as I strug

Community

Code Contracts in .NET 4.0

(Scott Dorman) As an application executes, it can encounter any number of possible error conditions. The .NET Framework provides a very rich set of exceptions for runtime errors that encapsulate all of the information about an error in a single class. While it is possible to write applications that