March 28th, 2008 . by bryan
The other day Tomas Restrepo released a new Visual Studio Color Theme called Distant Shores. It is a low-contrast theme with a dark background, and I must admit I am a BIG FAN! Have a look at the following screen shot. BTW - The font I am using is Damien Guard’s Envy CodeR font that Tomas Restrepo recommends in his blog posting.

Give it a shot! Your eyes will thank you!
Posted in Programming, Software Development |
No Comments »
June 18th, 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!
Posted in .NET, Programming |
No Comments »