Random Stuff from a software developer

Another common interview question is to write a function to detect if a string is a palindrome. For thoose who are not aware a palindrome is the same word spelt backwards as forwards eg "RACECAR".

Places tend to ask this because it can be solved in multiple ways. The two main methods are either using a for loop or using recursion. I don't think the recusion method is an advantage in c# because of the lack of pointers. So that method is going to be skipped here. The reason why they ask this is because it has a nice catch on how the issue of how to deal with an odd number of letters. This is actually very simple since the odd letter is in the middle it will be compared to its self. So there is never any need to compare the middle letter. An example is "RAC" "E" "CAR".

Something that is intresting is that as well as a simple technical test the interviewer can challange on the functionality of the operation of the odd case. Sometimes they do this to see if the person is going to defend them self or just role over and show a lack of confidence in their solution.

C# - ThreadPooledThis is another example in a series of posts for working with thread in c#. In this example it shows...C# - LogoffHere is a quick set of functions that will allow you to reboot / shutdown / logoff windows from c#
...C# - Extending any class or typeMany people are not aware of this. It is possible since .NET 3.5 to extend any class in c# to make i...