static void Main(string[] args) { int x = 5; int y = 3; int sum; sum = Sum(x, y); Debug.WriteLine("sum = {0}", sum); Console.WriteLine("{0} + {1} = {2} ", x, y, sum); Console.ReadLine(); }