Archive for '.NET'
Microsoft releases new ASP.NET charting control for … FREE!
Posted on 30. Nov, 2008 by bryan.
0
This past week Scott Guthrie announced a new ASP.NET charting control from Microsoft for free. Details are in Scott’s blog posting, from the screen shots it looks quite capable. I’m anxious to have an opportunity to kick the tires on this control, thanks MS!
Continue Reading
My First Linq Program
Posted on 18. Jun, 2007 by bryan.
I successfully coded my very first LINQ program today, and man is it a doozie! Observe:
class Program { static void Main(string[] args) { List<Student> studentList = new List<Student>(); studentList.Add(new Student("Charlie", "Brown")); studentList.Add(new Student("Drew", "Carrie")); IEnumerable<Student> students = from Student in studentList where Student.LastName.Equals("Brown") select Student; foreach (Student student in students) { Console.WriteLine(student.FirstName); } Console.ReadLine(); } } internal class Student { private string _firstName; private string _lastName; public Student(string firstName, string lastName) { _firstName = firstName; _lastName = lastName; } public string LastName { get { return _lastName; } set { _lastName = value; } } public string FirstName { get { return _firstName; } set { _firstName = value; } } }
Which when run looks like:
I’m excited by the possibilities this offers, and am anxious to have an opportunity to explore all LINQ has to offer!

