using System;
namespace Example6
{
///
/// Summary description for Class1.
///
class Class1
{
public static int Cube(int number)
{
int result = number * number * number;
number = 17;
return result;
}
///
/// The main entry point for the application.
///
[STAThread]
static void Main(string[] args)
{
int x = 4;
int value = Cube(x);
Console.WriteLine("The cube of {0} is {1}", x, value);
}
}
}