/* Learning C# by Jesse Liberty Publisher: O'Reilly ISBN: 0596003765 */ using System; class MyClass { public void SomeMethod(int firstParam, float secondParam) { Console.WriteLine( "Here are the parameters received: {0}, {1}", firstParam, secondParam); } } public class Tester111 { static void Main() { int howManyPeople = 5; float pi = 3.14f; MyClass mc = new MyClass(); mc.SomeMethod(howManyPeople, pi); } }