title: How to call an interface in C#
body: <pre><code>interface ISample
  {
      int fncAdd();
  }
  
  class ibaseclass
  {
      public int intF = 0, intS = 0;
      int Add()
      {
          return intF + intS;
      }
  }
  class iChild : ibaseclass, ISample
  {
      int fncAdd()
      {
          int intTot = 0;
          ibaseclass obj = new ibaseclass();
          intTot = obj.intF;
          return intTot;
      }
  }
  </code></pre>
  
  <p>I want to call <code>ISample</code> in <code>static void Main(string[] args)</code> but I dont know how to do that. Could you please tell me how?</p>