title: Trying to get Sum of all method
body: <p>I am trying to get sum of all method that has been passed in.</p>
  <pre><code>static void Main(string[] args)
  {
      Add(2, 2);
      Add(5, 2);
      Add(2, 5);
  }
  
  public static void Add(int num1, int num2)
  {
      int sum = num1 + num2;
  
      Print(sum);
  }
  
  public static void Print(int total) 
  {
      Console.WriteLine(total);    //The total would be 4,7,7 
                                   //But i want the total to be 18 (4+7+7).
  }
  </code></pre>