using System;
public class Program
{
public static void Main()
// call by value:
// in c# value-type parameters are that pass a copy of original valuue to the function. it does not modify the original value.
// address
int x = 2;
Program pro = new Program();
Console.WriteLine("value before calling the function "+x); // x = 2
pro.show(x); // calling function by passing value x = 4
Console.WriteLine("value after calling the function: "+x); // x = 2
}
public void show(int x){
x = x * x;
Console.WriteLine("value inside this function is: "+x);