Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract class MyClass
- {
- public async Task<int> Method1Async() {
- return await Method1CoreAsync();
- }
- protected abstract Task<int> Method1CoreAsync();
- // or
- // protected abstract Task<int> Method1AsyncCore();
- // or
- // protected abstract Task<int> Method1Core();
- }
Advertisement
Add Comment
Please, Sign In to add comment