Published by Keith on May 22nd, 2007 in C# with 1 Comment
Over at Dev102, they are running a weekly series of programming job interview questions. Here is this week’s question:
How would you implement the following method: Foo(7) = 17 and Foo(17) = 7. Any other input to that method is not defined so you can return anything you want. Just follow those rules:
Conditional statements (if, switch, […]
Tags:
Published by Keith on May 15th, 2007 in javascript, xml with No Comments
The Problem
It seems to me that this should be fairly obvious, but you should use unique element names in your XML. I only bring this up because I recently ran into some XML code at work that breaks this guideline. Here is an example of what I’m talking about (Keep in mind that this is […]
Tags:
Published by Keith on May 7th, 2007 in asp.net, jQuery, json with 2 Comments
There was a recent post on Encosia about how to use jQuery to interact with web services. In this article I will expand on a couple of the points and add a few new wrinkles
Creating the Web Service
The first thing that we need to do is to define our web service. I am using ASP.NET […]
Tags: