Archive for April, 2009

[Visual Studio 2008] Intellisense Not/Stopped Working?

Tags: ,

So I had a frustrating last week which involved my work hard drive blowing up and having to spend countless hours trying to get everything back up installed and running again. After all that [and things still aren't 100% back to normal] I find that *BAM* my Visual Studio 2008 intellisense isn’t working. [...]

Continue reading » No comments

[C#] Creating Custom Exceptions

Tags:

I’ve found it useful in the past to create my own custom exceptions for my application to throw and catch – especially if I want to handle that exact exception in a specific manner. Figured I’d jot down the syntax used to set one up here since I’ve looked it up once or twice.

// [...]

Continue reading » No comments

[C#] “DateTime.CompareTo” vs. “Less than / Greater than operators”

Tags:

I have seen in examples and I have used in my code the DateTime.CompareTo method to compare two dates with each other. This all works fine and dandy but then my project manager asked why I wasn’t using the less then or greater then operator since it seems a little easier to read. [...]

Continue reading » No comments