using System;

namespace InsideMethods
{
	class Tester
	{
		public void Run()
		{
			int x = 5;
			float y = 5.2f;
			Console.WriteLine("Podwojone {0} = {1}", x, Doubler(x));
			Console.WriteLine("Podwojone {0} = {1}", y, Doubler(y));
		}

		static int Doubler(int theVal)
		{
			return theVal * 2;
		}

		static float Doubler(float theVal)
		{
			return theVal * 2.0f;
		}

		static void Main()
		{
			Tester t = new Tester();
			t.Run();
		}
	}
}
