title: Operator (*) Cannot be applied to operands of type 'object' and 'double'
body: <p>This is my code. I can not understand what is the problem, but Visual Studio 2008 says that </p>
  
  <blockquote>
    <p>Operator (*) Cannot be applied to operands of type 'object' and
    'double'</p>
  </blockquote>
  
  <p>Thanks ...</p>
  
  <pre><code>#region Using directives
  
  using System;
  using System.Collections.Generic;
  using System.Text;
  
  #endregion
  
  namespace DailyRate
  {
      class Program
      {
          static void Main(string[] args)
          {
              (new Program()).run();
          }
  
          public void run()
          {
              double dailyRate = readDouble("Enter your daily rate: ");
              int noOfDays = readInt("Enter the number of days: ");
              writeFree(CalculateFee(dailyRate, noOfDays));
          }
  
          private void writeFree(object p)
          {
              Console.WriteLine("The consultant's fee is: {0}", p * 1.1);
          }
  
          private double CalculateFee(double dailyRate, int noOfDays)
          {
              return dailyRate * noOfDays;
          }
  
          private int readInt(string p)
          {
              Console.Write(p);
              string line = Console.ReadLine();
              return int.Parse(line);
          }
  
          private double readDouble(string p)
          {
              Console.Write(p);
              string line = Console.ReadLine();
              return double.Parse(line);
          }
      }
  }
  </code></pre>