palermo4 posted on February 16, 2010 09:25

I am testing the new optional parameters in C#.  I am also testing the my new Windows Live Writer plug-in for code snippets.

// Testing optional parameters in C# 4.0
public static void DisplayMessage(string message = "NO SOUP FOR YOU") 
{
    Console.WriteLine("{0}: {1}", DateTime.Now, message);
}

Now this is how to execute one way or another…

static void Main(string[] args)
{
    // calling with parameter
    DisplayMessage("Favorite comedy line...");
    
    // calling with named parameter
    DisplayMessage(message: "Drum roll...");
    
    // calling without parameter
    DisplayMessage();
}

Posted in: code  Tags:
palermo4 posted on January 31, 2010 15:57

Within a week of installing Microsoft Security Essentials, it is hard at work catching evil threats to my operating system.  The software was easy to install and obviously does a good job.  It was worth every penny I spent on it…

microsoft_security_essentials


Posted in: commentary  Tags:
palermo4 posted on January 25, 2010 16:10

I just downloaded the Silverlight 4 (beta) client for Facebook.  My first positive impression is how much more data I can see without it being too much or cluttered.  I can clearly see the advantage for viewing photos and albums.  If you are a Facebook junkie, you will want to experiment with this app!

silverface


Posted in: silverlight  Tags:
palermo4 posted on January 22, 2010 09:31

bing_iphone I highly recommend Bing for you iPhone users out there.  Here are the things that work great:

  • Search – as you would suspect, the search engine is the main attraction.  I find the results are fast and relevant.
  • Voice Search – the voice recognition is pleasantly accurate.  I have become very trustworthy of its translation.
  • Directions – it is easy to find locations and quickly get directions from where you are (or another predetermined location).
  • Settings – this may seem silly, but I enjoy using an application that does not drown the user with endless options.  The settings fit on one page and are easy to understand.

I have only one complaint.  Bing team – why did you not give me the ability to easily copy/save items from my search results?  For example, if I find a link to something I want to review later, the application does not have a provision for this.  If anyone from the Bing team reads this, please add this feature.

Compared to other search engines for the iPhone (Google, SearchIt, default Safari), Bing is clearly my favorite!


Posted in: commentary  Tags: ,
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010 J. Michael Palermo IV