Skip to content

Instantly share code, notes, and snippets.

@todorok1

todorok1/InheritAnimal.cs Secret

Created Jan 29, 2021
Embed
What would you like to do?
継承のサンプル
/// <Summary>
/// 動物クラスです。
/// </Summary>
public class Animal
{
protected virtual void 鳴く()
{
}
protected virtual void 移動する()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment