Due to a recent suggestion...
And after failing to make a simple program to play with the code and see what it does... I come bearing questions, and seeking help...
Console App
Program compiles. All the console window does is the ReadLine() method, it doesn't show any data at all. can anyone tell me why I'm not getting any output?
And after failing to make a simple program to play with the code and see what it does... I come bearing questions, and seeking help...
Console App
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
var xdata = from d in XElement.Load("dk.xml").Elements("Talent")
select d;
foreach (var data in xdata)
{
Console.WriteLine(data);
}
Console.ReadLine();
}
}
}
Comment