Welcome to Atalasoft Community Sign in | Help

September 2006 - Posts

IDisposable Made E-Z

Joe Duffy wrote this extensive entry about IDisposable and how it should be implemented under many different circumstances. It's great, it's complete, it's probably more than what most people need to look at. Here is a pattern you can use for your code
Posted by Steve Hawley | 3 Comments

C# NullStream

I've always been a big fan of the UNIX concept of /dev/null. It's a file/device that can accept an infinite amount of data without growing and when read always returns end-of-file. It is conceptually a data sink. I was surprised that .NET (at least 1.1)
Posted by Steve Hawley | 0 Comments


In my version of The Daily WTF , here is some output I got from NUnit: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Remoting.RemotingException: Requested Service not found
Posted by Steve Hawley | 0 Comments

Stating the Obvious

Consider this packet containing a moist towlette that I picked up while getting some barbeque: The directions are brief and fairly clear (although, they really could've taken out the word 'just'), but I get stuck on the word 'use'. I immediately ask "use
Posted by Steve Hawley | 0 Comments