title: Inconsistent Accessibility
body: <p>I have taken a simple interface </p>
  
  <pre><code>public interface IBinaryHelper
  {
      toBinary ConvertToBinary(string pathBinary);
  }
  </code></pre>
  
  <p>I am trying access is in a class below it</p>
  
  <pre><code>public class ApiHelper : IBinaryHelper
  {
      private readonly RestClient _client;
  
      public toBinary ConvertToBinary(string pathBinary)
      {
          toBinary binary = null;
          var request = new RestRequest("SampleAPI/ConvertToBinary/{pathBinary}", Method.GET) { RequestFormat = DataFormat.Json };
          request.AddParameter("pathBinary", pathBinary, ParameterType.UrlSegment);
          var response = _client.Execute&lt;toBinary&gt;(request);
          binary = response.Data;
          return binary;
      }
  }
  </code></pre>
  
  <p>Now when build it, this is the error am getting an error Inconsisten accessibility:</p>
  
  <blockquote>
    <p>Return type <code>ApiHelper.toBinary</code> is less accessible than method <code>ApiHelper.ApiHelper.ConvertToBinary(string)</code> at <code>ConvertToBinary</code> method both in interface and in the class</p>
  </blockquote>