#define test
#undef test
using System;
namespace ConsoleCSharpCCompile {
class Class1 {
static void Main(string[] args) {
intfirstValue = 12;
intsecondValue = 10;
int result = 0;
result = calculate(firstValue, secondValue);
Console.WriteLine("Return value: " + result.ToString());
}
public static int calculate(int x, int y) {
#if test
Console.WriteLine("Values passed in: x = " + x.ToString() + ", y = " + y.ToString());
#endif
intrValue = (x + y) * 3;
#if test
Console.WriteLine("Calculated value = " + rValue.ToString());
#endif
return rValue;
} } }