Something is terribly wrong here... previous: Those untrustworthy developers... next: Update Panel hates me And the problem is with me. I kept going over this code, not seeing what was wrong with it, up until I actually read the code. Argh! Comments 08/06/2007 08:24 AM by Markus Zywitza ...but having enough sleep is even better :-)) 08/06/2007 03:04 PM by Dan Haha, these things look so familiar :) 08/06/2007 03:04 PM by Dan Haha, these things look so familiar :) 08/06/2007 03:30 PM by Marvin How is this: IList files; if ( filesDic.TryGetValue( fileName, out files ) ) files = new List<FileInfo>( ); //do something with files We were getting NullReferenceExceptions this morning... Comments have been closed on this topic.
08/06/2007 03:30 PM by Marvin How is this: IList files; if ( filesDic.TryGetValue( fileName, out files ) ) files = new List<FileInfo>( ); //do something with files We were getting NullReferenceExceptions this morning...
Comments
...but having enough sleep is even better :-))
Haha, these things look so familiar :)
Haha, these things look so familiar :)
How is this:
IList files;
if ( filesDic.TryGetValue( fileName, out files ) )
//do something with files
We were getting NullReferenceExceptions this morning...