Created
May 9, 2020 20:24
-
-
Save enisn/3b7dec48b2ac5a079f40e8206fbe49d2 to your computer and use it in GitHub Desktop.
Contravariance & Covariance - Sample 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IDataProvider<TData> | |
{ | |
TData GetData(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment