I found some very interesting behavior in the .NET sort method today that I thought I would share in case it catches anyone else off guard. To set up the scenario, I had two objects that had the same value for the property that was being compared. These objects were already in the order I… Read more »
Posts Categorized: Development
So, can you have that done today?
I work at a software company where we’ve been developing a pretty sizable ERP (Enterprise Resource Planning) system. The office is an open layout, we all have our work stations, but there is no private office, so we can pretty much hear everyone’s conversations. Today, one of my coworkers got on the phone for a… Read more »
Find Mouse Position Whenever You Need It
When responding to an event from a control, some events provide back the mouse coordinates, but not all of them do. So how do you get the mouse coordinates when your in an event that doesn’t provide them in the event args?
Returning a default value when no value returned
Today, I came across a problem where, after a lot of searching through forums and other various mediums of programming support, I was basically told it couldn’t be done. I don’t like to take “it’s impossible” for an answer, so I continued to dive into it and I finally came up with a solution. The… Read more »