-
-
Save jesuscampos/e995ec5a7b6174236dd5d93d92c66bba to your computer and use it in GitHub Desktop.
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 MyInterface | |
{ | |
Task<int> GetMagicNumber(); | |
} | |
public class MyClass : MyInterface | |
{ | |
public Task<int> GetMagicNumber() | |
{ | |
return Task.FromResult(3); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment