Home > Uncategorized > Building Objects from XML of eBay API with LINQ

Building Objects from XML of eBay API with LINQ

In this post, I’d like to illustrate the power of LINQ with code sample. I query the web service published by eBay. Refer to this article about eBay API concepts.

EbayItem.cs

EbayItem.cs

Program.cs

Programs

Done! in-memory objects are built. You can also follow ScottGu’s blog to wire up this code with Silverlight UI.

Categories: Uncategorized Tags: , ,