int intVal; string strVal; static string strValueStatic; public void doSomething(int x, string y) { int funIntVal = x; string funStrVal = y ; Console.WriteLine("output : {0}, {1)", funIntVal.ToString() , funStrVal);}