You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
457 B
C#

3 years ago
using System;
using System.Collections.Generic;
using System.Text;
namespace InterfaceStudy.Core
{
/// <summary>
/// 基接口隐式实现类
/// </summary>
public class ImplicitBase : IBase
{
public int Number = 0;
/// <summary>
/// 1 必须是public
/// 2 可以用自己修饰符:virtual
/// </summary>
public int GetNumber()
{
return Number;
}
}
}