https://software.codidact.com/categories/38/tags/7187.rssNew Posts Tagged 'interface-type' - Software DevelopmentSoftware Development - Codidact2023-06-16T22:10:50Zhttps://software.codidact.com/posts/287602When would one not want to return an interface?Moshiâ€https://software.codidact.com/users/531962022-12-21T22:49:47Z2023-06-16T22:10:50Z<p>Consider the following method as an example:</p>
<pre><code class="language-cs">List<int> Foo() {
// ...
}
</code></pre>
<p>Are there any disadvantages of returning an interface i...