Skip to content

Instantly share code, notes, and snippets.

@ufcpp
Created June 13, 2019 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ufcpp/26d6eda8b1bdf91cc785bd7478d95b89 to your computer and use it in GitHub Desktop.
Save ufcpp/26d6eda8b1bdf91cc785bd7478d95b89 to your computer and use it in GitHub Desktop.
Visual Studio 16.2 Preview 2 から実装入ってそう
using System;
interface A
{
void M() => Console.WriteLine("default implementation");
}
interface B : A
{
abstract void A.M();
}
// M の実装が必須(コンパイル エラー)
class C : B
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment