1. Home
  2. Computing & Technology
  3. Visual Basic
photo of Dan Mabbutt
Dan's Visual Basic Blog

By Dan Mabbutt, About.com Guide to Visual Basic since 2002

AutoTest: A LINQ to XML Example System

Wednesday June 17, 2009

Microsoft's LINQ technology combined with XML can revolutionize the way you program, but it's difficult to make the transition from more traditional ways of programming to LINQ. Moving to XML can be a challenge.

A reader asked for help programming a system to generate random test questions. Since it seemed like an ideal way to showcase LINQ, I wrote most of the code as a programming example.

The problem with LINQ is not the concepts, it's the syntax. In general, you know what you want to do and you're pretty sure LINQ can do it. But getting the code just right can be very frustrating. So this article concentrates on just why you need all those symbols in the code and in a lot of cases, the different way the symbols can be written is shown.

Or ... Maybe you need an AutoTest program. The complete code is downloadable. To read the article Click Here.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore Visual Basic
By Category
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic

©2009 About.com, a part of The New York Times Company.

All rights reserved.