Display favorite class using one parameter, no returns, call the favoriteClass method twice
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main()
{
DisplayFavoriteClass("ism220");
DisplayFavoriteClass("Anything with Cornell Notes");
Console.ReadKey();
}
static void DisplayFavoriteClass(string favoriteClass)
{
Console.WriteLine("{0} is my favorite class", favoriteClass);
}
}
}