title: How To assign Values to Interface Variables with Interface Datatype
body: <p>Can any body help me in implementing the below interface, Your prompt response would be appreciated.</p>
  <pre><code>public interface IApple
  {
  IApple Brand { get; }
  string Name { get; }
  }
  </code></pre>
  <p>This is what i tried to implement</p>
  <pre><code>public class AppleChild :IApple 
  {
  
        private string _name;
        private string _brand;
        public AppleChild()
   {
      _brand = &quot;sad&quot;;
      _name = &quot;adsa&quot;;
  
  
     }
    IApple IApple.Brand =&gt; _brand; --getting error here it says Cannot convert type string 
  to IApple
    string IApple.Name {
     get
     {
         return _name;
     }
     }
  </code></pre>